pub struct GetBalanceResponse {
pub value: Amount,
}Expand description
Response for the GetBalance RPC method
This method returns a primitive value wrapped in a transparent struct.
Fields§
§value: AmountWrapped primitive value
Trait Implementations§
Source§impl AsRef<Amount> for GetBalanceResponse
impl AsRef<Amount> for GetBalanceResponse
Source§impl Clone for GetBalanceResponse
impl Clone for GetBalanceResponse
Source§fn clone(&self) -> GetBalanceResponse
fn clone(&self) -> GetBalanceResponse
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 GetBalanceResponse
impl Debug for GetBalanceResponse
Source§impl Deref for GetBalanceResponse
impl Deref for GetBalanceResponse
Source§impl DerefMut for GetBalanceResponse
impl DerefMut for GetBalanceResponse
Source§impl<'de> Deserialize<'de> for GetBalanceResponse
impl<'de> Deserialize<'de> for GetBalanceResponse
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 From<Amount> for GetBalanceResponse
impl From<Amount> for GetBalanceResponse
Source§impl From<GetBalanceResponse> for Amount
impl From<GetBalanceResponse> for Amount
Source§fn from(wrapper: GetBalanceResponse) -> Self
fn from(wrapper: GetBalanceResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetBalanceResponse
impl PartialEq for GetBalanceResponse
Source§impl Serialize for GetBalanceResponse
impl Serialize for GetBalanceResponse
impl StructuralPartialEq for GetBalanceResponse
Auto Trait Implementations§
impl Freeze for GetBalanceResponse
impl RefUnwindSafe for GetBalanceResponse
impl Send for GetBalanceResponse
impl Sync for GetBalanceResponse
impl Unpin for GetBalanceResponse
impl UnwindSafe for GetBalanceResponse
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