pub struct AssetBalance {
pub asset_id: String,
pub balance_sat: u64,
pub name: Option<String>,
pub ticker: Option<String>,
pub balance: Option<f64>,
}
Expand description
An asset balance to denote the balance for each asset.
Fields§
§asset_id: String
§balance_sat: u64
§name: Option<String>
§ticker: Option<String>
§balance: Option<f64>
Trait Implementations§
Source§impl Clone for AssetBalance
impl Clone for AssetBalance
Source§fn clone(&self) -> AssetBalance
fn clone(&self) -> AssetBalance
Returns a copy 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 AssetBalance
impl Debug for AssetBalance
Source§impl Default for AssetBalance
impl Default for AssetBalance
Source§fn default() -> AssetBalance
fn default() -> AssetBalance
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssetBalance
impl<'de> Deserialize<'de> for AssetBalance
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 IntoDart for AssetBalance
impl IntoDart for AssetBalance
Source§impl IntoIntoDart<AssetBalance> for AssetBalance
impl IntoIntoDart<AssetBalance> for AssetBalance
fn into_into_dart(self) -> AssetBalance
Source§impl Serialize for AssetBalance
impl Serialize for AssetBalance
impl IntoDartExceptPrimitive for AssetBalance
Auto Trait Implementations§
impl Freeze for AssetBalance
impl RefUnwindSafe for AssetBalance
impl Send for AssetBalance
impl Sync for AssetBalance
impl Unpin for AssetBalance
impl UnwindSafe for AssetBalance
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request