pub struct GetBalance(pub Amount);Expand description
Models the result of JSON-RPC method getbalance.
Tuple Fields§
§0: AmountTrait Implementations§
Source§impl Clone for GetBalance
impl Clone for GetBalance
Source§fn clone(&self) -> GetBalance
fn clone(&self) -> GetBalance
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetBalance
impl Debug for GetBalance
Source§impl<'de> Deserialize<'de> for GetBalance
impl<'de> Deserialize<'de> for GetBalance
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
Source§impl PartialEq for GetBalance
impl PartialEq for GetBalance
Source§impl Serialize for GetBalance
impl Serialize for GetBalance
impl StructuralPartialEq for GetBalance
Auto Trait Implementations§
impl Freeze for GetBalance
impl RefUnwindSafe for GetBalance
impl Send for GetBalance
impl Sync for GetBalance
impl Unpin for GetBalance
impl UnwindSafe for GetBalance
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