pub struct BalanceAddressResponse {
pub address_type: u8,
pub address: String,
pub balance: u64,
pub dust_allowed: bool,
pub ledger_index: u32,
}
Expand description
Response of GET /api/v1/addresses/{address}. Returns information about an address.
Fields§
§address_type: u8
§address: String
§balance: u64
§dust_allowed: bool
§ledger_index: u32
Trait Implementations§
Source§impl Clone for BalanceAddressResponse
impl Clone for BalanceAddressResponse
Source§fn clone(&self) -> BalanceAddressResponse
fn clone(&self) -> BalanceAddressResponse
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 BalanceAddressResponse
impl Debug for BalanceAddressResponse
Source§impl<'de> Deserialize<'de> for BalanceAddressResponse
impl<'de> Deserialize<'de> for BalanceAddressResponse
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 Serialize for BalanceAddressResponse
impl Serialize for BalanceAddressResponse
impl BodyInner for BalanceAddressResponse
Auto Trait Implementations§
impl Freeze for BalanceAddressResponse
impl RefUnwindSafe for BalanceAddressResponse
impl Send for BalanceAddressResponse
impl Sync for BalanceAddressResponse
impl Unpin for BalanceAddressResponse
impl UnwindSafe for BalanceAddressResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more