pub struct PositionRequestBody2 {
pub limit: Option<i32>,
pub model: Option<String>,
pub req_id: Option<i32>,
pub sort_direction: Option<PositionRequestBody2SortDirection>,
pub sort_field: Option<PositionRequestBody2SortField>,
}Fields§
§limit: Option<i32>Maximum number of positions to return.
- Example:
Some(10i32)
model: Option<String>Name of your model.
- Example:
Some("Sample-Model".to_string())
req_id: Option<i32>Request identifier to uniquely track a request.
- Example:
Some(540_609i32)
sort_direction: Option<PositionRequestBody2SortDirection>Direction to sort the request by.
ASC- Sort from greatest to smallest.DESC- Sort from smallest to greatest.
sort_field: Option<PositionRequestBody2SortField>Field to sort the response by.
actual- Current actual model allocation for the instrument.actualRangeMax- Maximum actual model allocation allowed for the instrument.actualRangeMin- Minimum actual model allocation allowed for the instrument.ccy- Currency of the instrument.conid- Contract identifier, or conid.dlv- Market value.instrumentImbalance- How far an instrument’s actual allocation is from its model.instrument- Symbol of the security.mv- Market value of the model position.position- Number of shares held by the model.target- Target percentage of an instrument held within a model.
Trait Implementations§
Source§impl Clone for PositionRequestBody2
impl Clone for PositionRequestBody2
Source§fn clone(&self) -> PositionRequestBody2
fn clone(&self) -> PositionRequestBody2
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 PositionRequestBody2
impl Debug for PositionRequestBody2
Source§impl Default for PositionRequestBody2
impl Default for PositionRequestBody2
Source§impl PartialEq for PositionRequestBody2
impl PartialEq for PositionRequestBody2
Source§impl Serialize for PositionRequestBody2
impl Serialize for PositionRequestBody2
impl StructuralPartialEq for PositionRequestBody2
Auto Trait Implementations§
impl Freeze for PositionRequestBody2
impl RefUnwindSafe for PositionRequestBody2
impl Send for PositionRequestBody2
impl Sync for PositionRequestBody2
impl Unpin for PositionRequestBody2
impl UnsafeUnpin for PositionRequestBody2
impl UnwindSafe for PositionRequestBody2
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