pub struct ListDepositDestinations<'a> { /* private fields */ }Expand description
Builder for [Client::list_deposit_destinations]
[`Client::list_deposit_destinations`]: super::Client::list_deposit_destinationsImplementations§
Source§impl<'a> ListDepositDestinations<'a>
impl<'a> ListDepositDestinations<'a>
pub fn new(client: &'a Client) -> Self
pub fn account_id<V>(self, value: V) -> Self
pub fn address<V>(self, value: V) -> Self
pub fn network<V>(self, value: V) -> Self
pub fn page_size<V>(self, value: V) -> Self
pub fn page_token<V>(self, value: V) -> Self
pub fn type_<V>(self, value: V) -> Selfwhere
V: TryInto<DepositDestinationType>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<ListDepositDestinationsResponse>, Error<Error>>
pub async fn send( self, ) -> Result<ResponseValue<ListDepositDestinationsResponse>, Error<Error>>
Sends a GET request to /v2/deposit-destinations
Trait Implementations§
Source§impl<'a> Clone for ListDepositDestinations<'a>
impl<'a> Clone for ListDepositDestinations<'a>
Source§fn clone(&self) -> ListDepositDestinations<'a>
fn clone(&self) -> ListDepositDestinations<'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 moreAuto Trait Implementations§
impl<'a> Freeze for ListDepositDestinations<'a>
impl<'a> !RefUnwindSafe for ListDepositDestinations<'a>
impl<'a> Send for ListDepositDestinations<'a>
impl<'a> Sync for ListDepositDestinations<'a>
impl<'a> Unpin for ListDepositDestinations<'a>
impl<'a> UnsafeUnpin for ListDepositDestinations<'a>
impl<'a> !UnwindSafe for ListDepositDestinations<'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