pub struct GetPortfolioFillsParams {
pub order_id: Option<String>,
pub client_order_id: Option<String>,
pub ref_datetime: Option<DateTime<Utc>>,
pub result_limit: Option<u32>,
pub result_offset: Option<u32>,
pub time_from: Option<DateTime<Utc>>,
}
Expand description
Parameters for querying portfolio fills.
Fields§
§order_id: Option<String>
A specific order for which to fetch fills identified by order ID.
client_order_id: Option<String>
Fetch fills for all orders with the given client order ID.
ref_datetime: Option<DateTime<Utc>>
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).
result_limit: Option<u32>
The number of results to return (defaults to 25 with a max supported value of 100).
result_offset: Option<u32>
The number of results from the beginning to skip past.
time_from: Option<DateTime<Utc>>
The minimum event_time
for results. Uses ISO-8601 format (e.g., 2023-03-16T23:59:53Z).
Trait Implementations§
Source§impl Clone for GetPortfolioFillsParams
impl Clone for GetPortfolioFillsParams
Source§fn clone(&self) -> GetPortfolioFillsParams
fn clone(&self) -> GetPortfolioFillsParams
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GetPortfolioFillsParams
impl Debug for GetPortfolioFillsParams
Source§impl<'de> Deserialize<'de> for GetPortfolioFillsParams
impl<'de> Deserialize<'de> for GetPortfolioFillsParams
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
Auto Trait Implementations§
impl Freeze for GetPortfolioFillsParams
impl RefUnwindSafe for GetPortfolioFillsParams
impl Send for GetPortfolioFillsParams
impl Sync for GetPortfolioFillsParams
impl Unpin for GetPortfolioFillsParams
impl UnwindSafe for GetPortfolioFillsParams
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