pub struct WalletStatus { /* private fields */ }Implementations§
Source§impl WalletStatus
impl WalletStatus
Sourcepub fn from_client(client: Client) -> Self
pub fn from_client(client: Client) -> Self
Wraps an already-built client (e.g. from ClientBuilder).
Sourcepub async fn get(
&self,
asset: impl Into<String>,
options: WalletStatusOptions,
) -> Result<Vec<WalletStatusView>>
pub async fn get( &self, asset: impl Into<String>, options: WalletStatusOptions, ) -> Result<Vec<WalletStatusView>>
Get the latest wallet status for asset from given exchange.
Trait Implementations§
Source§impl Clone for WalletStatus
impl Clone for WalletStatus
Source§fn clone(&self) -> WalletStatus
fn clone(&self) -> WalletStatus
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 Freeze for WalletStatus
impl !RefUnwindSafe for WalletStatus
impl Send for WalletStatus
impl Sync for WalletStatus
impl Unpin for WalletStatus
impl UnsafeUnpin for WalletStatus
impl !UnwindSafe for WalletStatus
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