pub struct GetConvertTradeHistoryParamsBuilder { /* private fields */ }Expand description
Builder for GetConvertTradeHistoryParams.
Implementations§
Source§impl GetConvertTradeHistoryParamsBuilder
impl GetConvertTradeHistoryParamsBuilder
Sourcepub fn start_time<VALUE: Into<i64>>(self, value: VALUE) -> Self
pub fn start_time<VALUE: Into<i64>>(self, value: VALUE) -> Self
The start_time parameter.
This field is **required.
Sourcepub fn end_time<VALUE: Into<i64>>(self, value: VALUE) -> Self
pub fn end_time<VALUE: Into<i64>>(self, value: VALUE) -> Self
The end_time parameter.
This field is **required.
Sourcepub fn limit<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn limit<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
Default 100, Max 1000
This field is **optional.
Sourcepub fn recv_window<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn recv_window<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
The value cannot be greater than 60000
This field is **optional.
Sourcepub fn build(self) -> Result<GetConvertTradeHistoryParams, ParamBuildError>
pub fn build(self) -> Result<GetConvertTradeHistoryParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GetConvertTradeHistoryParamsBuilder
impl RefUnwindSafe for GetConvertTradeHistoryParamsBuilder
impl Send for GetConvertTradeHistoryParamsBuilder
impl Sync for GetConvertTradeHistoryParamsBuilder
impl Unpin for GetConvertTradeHistoryParamsBuilder
impl UnsafeUnpin for GetConvertTradeHistoryParamsBuilder
impl UnwindSafe for GetConvertTradeHistoryParamsBuilder
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