pub struct QueryMaxTransferOutAmountParamsBuilder { /* private fields */ }Expand description
Builder for QueryMaxTransferOutAmountParams.
Implementations§
Source§impl QueryMaxTransferOutAmountParamsBuilder
impl QueryMaxTransferOutAmountParamsBuilder
Sourcepub fn asset<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn asset<VALUE: Into<String>>(self, value: VALUE) -> Self
The asset parameter.
This field is **required.
Sourcepub fn isolated_symbol<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn isolated_symbol<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
isolated symbol
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
No more than 60000
This field is **optional.
Sourcepub fn build(self) -> Result<QueryMaxTransferOutAmountParams, ParamBuildError>
pub fn build(self) -> Result<QueryMaxTransferOutAmountParams, ParamBuildError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryMaxTransferOutAmountParamsBuilder
impl RefUnwindSafe for QueryMaxTransferOutAmountParamsBuilder
impl Send for QueryMaxTransferOutAmountParamsBuilder
impl Sync for QueryMaxTransferOutAmountParamsBuilder
impl Unpin for QueryMaxTransferOutAmountParamsBuilder
impl UnsafeUnpin for QueryMaxTransferOutAmountParamsBuilder
impl UnwindSafe for QueryMaxTransferOutAmountParamsBuilder
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