pub struct ModelPresetsResponse {
pub avoid_negative_cash_in_independent: Option<bool>,
pub close_divest_independent_position: Option<bool>,
pub fully_invest_existing_long_positions: Option<bool>,
pub keep_model_open: Option<bool>,
pub prefer_cross_with_independent: Option<bool>,
pub prefer_transfer_from_independent: Option<bool>,
pub req_id: Option<i32>,
pub round_allocation_quantity_to_exchange_board_lot: Option<bool>,
pub subscription_status: Option<i32>,
pub use_non_base_ccy: Option<bool>,
pub use_tolerance_range: Option<bool>,
}Fields§
§avoid_negative_cash_in_independent: Option<bool>Avoid negative offsetting cash in Independent
close_divest_independent_position: Option<bool>Close out the full position while divesting.
fully_invest_existing_long_positions: Option<bool>Use the maximum avialble funds to increase long positions.
keep_model_open: Option<bool>Keep model open for fully divested accounts.
prefer_cross_with_independent: Option<bool>Transfer positions to Independent instead of liquidating.
prefer_transfer_from_independent: Option<bool>Transfer positions from Independent structure when possible.
req_id: Option<i32>Request identifier to uniquely track a request.
round_allocation_quantity_to_exchange_board_lot: Option<bool>Determine if allocation quantities should be handled by lot size.
subscription_status: Option<i32>Describes if the model is in polling mode.
use_non_base_ccy: Option<bool>Use non-base balances when available.
use_tolerance_range: Option<bool>Designate of tolerance ranges should be used for rebalancing.
Trait Implementations§
Source§impl Clone for ModelPresetsResponse
impl Clone for ModelPresetsResponse
Source§fn clone(&self) -> ModelPresetsResponse
fn clone(&self) -> ModelPresetsResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModelPresetsResponse
impl Debug for ModelPresetsResponse
Source§impl Default for ModelPresetsResponse
impl Default for ModelPresetsResponse
Source§impl<'de> Deserialize<'de> for ModelPresetsResponse
impl<'de> Deserialize<'de> for ModelPresetsResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ModelPresetsResponse
impl PartialEq for ModelPresetsResponse
Source§impl Serialize for ModelPresetsResponse
impl Serialize for ModelPresetsResponse
impl StructuralPartialEq for ModelPresetsResponse
Auto Trait Implementations§
impl Freeze for ModelPresetsResponse
impl RefUnwindSafe for ModelPresetsResponse
impl Send for ModelPresetsResponse
impl Sync for ModelPresetsResponse
impl Unpin for ModelPresetsResponse
impl UnsafeUnpin for ModelPresetsResponse
impl UnwindSafe for ModelPresetsResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more
§fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
§fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
Add request id header and extension. Read more
§fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
Add request id header and extension, using
x-request-id as the header name. Read more§fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
Propgate request ids from requests to responses. Read more
§fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
Propgate request ids from requests to responses, using
x-request-id as the header name. Read more§fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
Intercept requests with over-sized payloads and convert them into
413 Payload Too Large responses. Read more