pub struct GetMovePositionHistoryForSubAccountParamsBuilder { /* private fields */ }Expand description
Builder for GetMovePositionHistoryForSubAccountParams.
Implementations§
Source§impl GetMovePositionHistoryForSubAccountParamsBuilder
impl GetMovePositionHistoryForSubAccountParamsBuilder
Sourcepub fn symbol<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn symbol<VALUE: Into<String>>(self, value: VALUE) -> Self
The symbol parameter.
This field is **required.
Sourcepub fn rows<VALUE: Into<i64>>(self, value: VALUE) -> Self
pub fn rows<VALUE: Into<i64>>(self, value: VALUE) -> Self
The rows parameter.
This field is **required.
Sourcepub fn start_time<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn start_time<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
The start_time parameter.
This field is **optional.
Sourcepub fn end_time<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn end_time<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
The end_time parameter.
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 recv_window parameter.
This field is **optional.
Sourcepub fn build(
self,
) -> Result<GetMovePositionHistoryForSubAccountParams, ParamBuildError>
pub fn build( self, ) -> Result<GetMovePositionHistoryForSubAccountParams, ParamBuildError>
Builds a new GetMovePositionHistoryForSubAccountParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GetMovePositionHistoryForSubAccountParamsBuilder
impl RefUnwindSafe for GetMovePositionHistoryForSubAccountParamsBuilder
impl Send for GetMovePositionHistoryForSubAccountParamsBuilder
impl Sync for GetMovePositionHistoryForSubAccountParamsBuilder
impl Unpin for GetMovePositionHistoryForSubAccountParamsBuilder
impl UnsafeUnpin for GetMovePositionHistoryForSubAccountParamsBuilder
impl UnwindSafe for GetMovePositionHistoryForSubAccountParamsBuilder
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