pub struct ServiceBalance {
pub balance: f64,
pub currency: String,
}Expand description
Response payload for service balance.
Fields§
§balance: f64The current balance amount.
currency: StringThe currency code.
Trait Implementations§
Source§impl Clone for ServiceBalance
impl Clone for ServiceBalance
Source§fn clone(&self) -> ServiceBalance
fn clone(&self) -> ServiceBalance
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 ServiceBalance
impl Debug for ServiceBalance
Source§impl<'de> Deserialize<'de> for ServiceBalance
impl<'de> Deserialize<'de> for ServiceBalance
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
Auto Trait Implementations§
impl Freeze for ServiceBalance
impl RefUnwindSafe for ServiceBalance
impl Send for ServiceBalance
impl Sync for ServiceBalance
impl Unpin for ServiceBalance
impl UnwindSafe for ServiceBalance
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