pub struct GetPortfolioFillsParamsBuilder { /* private fields */ }Expand description
Builder for GetPortfolioFillsParams.
Implementations§
Source§impl GetPortfolioFillsParamsBuilder
impl GetPortfolioFillsParamsBuilder
Sourcepub fn order_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn order_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
A specific order for which to fetch fills identified by order ID.
Sourcepub fn client_order_id<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn client_order_id<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Fetch fills for all orders with the given client order ID.
Sourcepub fn ref_datetime<VALUE: Into<DateTime<Utc>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn ref_datetime<VALUE: Into<DateTime<Utc>>>( &mut self, value: VALUE, ) -> &mut Self
The maximum event_time for results. Can be used in pagination to keep result set static.
Uses ISO-8601 format (e.g., 2023-03-16T23:59:53Z).
Sourcepub fn result_limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn result_limit<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
The number of results to return (defaults to 25 with a max supported value of 100).
Sourcepub fn result_offset<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn result_offset<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
The number of results from the beginning to skip past.
Sourcepub fn time_from<VALUE: Into<DateTime<Utc>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn time_from<VALUE: Into<DateTime<Utc>>>( &mut self, value: VALUE, ) -> &mut Self
The minimum event_time for results. Uses ISO-8601 format (e.g., 2023-03-16T23:59:53Z).
Sourcepub fn build(
&self,
) -> Result<GetPortfolioFillsParams, GetPortfolioFillsParamsBuilderError>
pub fn build( &self, ) -> Result<GetPortfolioFillsParams, GetPortfolioFillsParamsBuilderError>
Trait Implementations§
Source§impl Clone for GetPortfolioFillsParamsBuilder
impl Clone for GetPortfolioFillsParamsBuilder
Source§fn clone(&self) -> GetPortfolioFillsParamsBuilder
fn clone(&self) -> GetPortfolioFillsParamsBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetPortfolioFillsParamsBuilder
impl RefUnwindSafe for GetPortfolioFillsParamsBuilder
impl Send for GetPortfolioFillsParamsBuilder
impl Sync for GetPortfolioFillsParamsBuilder
impl Unpin for GetPortfolioFillsParamsBuilder
impl UnwindSafe for GetPortfolioFillsParamsBuilder
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more