pub struct WalletCoinsParams {
pub address: String,
pub asset: Asset,
}Expand description
control.wallet.coins params: which address + asset to read spendable coins for.
Field-for-field identical to WalletBalanceParams — a balance is this read reduced to a sum —
and byte-identical to dig-app’s frozen CoinsRequest, so adopting the method is a body swap
rather than a re-shape.
Fields§
§address: StringThe xch1… address to read coins for.
asset: AssetThe asset to read coins for.
Trait Implementations§
Source§impl Clone for WalletCoinsParams
impl Clone for WalletCoinsParams
Source§fn clone(&self) -> WalletCoinsParams
fn clone(&self) -> WalletCoinsParams
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 ControlCall for WalletCoinsParams
impl ControlCall for WalletCoinsParams
Source§const METHOD: ControlMethod = ControlMethod::WalletCoins
const METHOD: ControlMethod = ControlMethod::WalletCoins
The wire method this call invokes.
Source§type Output = WalletCoinsResult
type Output = WalletCoinsResult
The typed result this call returns on success.
Source§impl Debug for WalletCoinsParams
impl Debug for WalletCoinsParams
Source§impl<'de> Deserialize<'de> for WalletCoinsParams
impl<'de> Deserialize<'de> for WalletCoinsParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WalletCoinsParams
Source§impl PartialEq for WalletCoinsParams
impl PartialEq for WalletCoinsParams
Source§impl Serialize for WalletCoinsParams
impl Serialize for WalletCoinsParams
impl StructuralPartialEq for WalletCoinsParams
Auto Trait Implementations§
impl Freeze for WalletCoinsParams
impl RefUnwindSafe for WalletCoinsParams
impl Send for WalletCoinsParams
impl Sync for WalletCoinsParams
impl Unpin for WalletCoinsParams
impl UnsafeUnpin for WalletCoinsParams
impl UnwindSafe for WalletCoinsParams
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