pub struct TransferStateRequest<'a> { /* private fields */ }Expand description
Request for transfer_state.
Implementations§
Source§impl<'a> TransferStateRequest<'a>
impl<'a> TransferStateRequest<'a>
Sourcepub fn new(trans_id: impl Into<Cow<'a, str>>) -> Self
pub fn new(trans_id: impl Into<Cow<'a, str>>) -> Self
Create a transfer-state query for a transfer ID.
Sourcepub fn with_client_id(client_id: impl Into<Cow<'a, str>>) -> Self
pub fn with_client_id(client_id: impl Into<Cow<'a, str>>) -> Self
Create a transfer-state query for a client-supplied ID.
Sourcepub fn transfer_type(self, transfer_type: impl Into<Cow<'a, str>>) -> Self
pub fn transfer_type(self, transfer_type: impl Into<Cow<'a, str>>) -> Self
Set the transfer type filter.
Trait Implementations§
Source§impl<'a> Clone for TransferStateRequest<'a>
impl<'a> Clone for TransferStateRequest<'a>
Source§fn clone(&self) -> TransferStateRequest<'a>
fn clone(&self) -> TransferStateRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for TransferStateRequest<'a>
impl<'a> Debug for TransferStateRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for TransferStateRequest<'a>
impl<'a> RefUnwindSafe for TransferStateRequest<'a>
impl<'a> Send for TransferStateRequest<'a>
impl<'a> Sync for TransferStateRequest<'a>
impl<'a> Unpin for TransferStateRequest<'a>
impl<'a> UnsafeUnpin for TransferStateRequest<'a>
impl<'a> UnwindSafe for TransferStateRequest<'a>
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