pub struct QueryUserUniversalTransferHistoryParamsBuilder { /* private fields */ }Expand description
Builder for QueryUserUniversalTransferHistoryParams.
Implementations§
Source§impl QueryUserUniversalTransferHistoryParamsBuilder
impl QueryUserUniversalTransferHistoryParamsBuilder
Sourcepub fn type<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn type<VALUE: Into<String>>(self, value: VALUE) -> Self
The r#type 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 current<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn current<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
current page, default 1, the min value is 1
This field is **optional.
Sourcepub fn size<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
pub fn size<VALUE: Into<Option<i64>>>(self, value: VALUE) -> Self
page size, default 10, the max value is 100
This field is **optional.
Sourcepub fn from_symbol<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn from_symbol<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
The from_symbol parameter.
This field is **optional.
Sourcepub fn to_symbol<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn to_symbol<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
The to_symbol 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<QueryUserUniversalTransferHistoryParams, ParamBuildError>
pub fn build( self, ) -> Result<QueryUserUniversalTransferHistoryParams, ParamBuildError>
Builds a new QueryUserUniversalTransferHistoryParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QueryUserUniversalTransferHistoryParamsBuilder
impl RefUnwindSafe for QueryUserUniversalTransferHistoryParamsBuilder
impl Send for QueryUserUniversalTransferHistoryParamsBuilder
impl Sync for QueryUserUniversalTransferHistoryParamsBuilder
impl Unpin for QueryUserUniversalTransferHistoryParamsBuilder
impl UnsafeUnpin for QueryUserUniversalTransferHistoryParamsBuilder
impl UnwindSafe for QueryUserUniversalTransferHistoryParamsBuilder
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