pub struct SolvencyReport {
pub address: String,
pub network: Network,
pub balance: String,
pub balance_ether: f64,
pub meets_minimum: bool,
pub minimum_balance: String,
pub provider: ProviderType,
pub transaction_count: Option<u64>,
pub last_activity: Option<u64>,
pub errors: Vec<String>,
pub cached: bool,
}Expand description
Result of solvency check
Fields§
§address: String§network: Network§balance: String§balance_ether: f64§meets_minimum: bool§minimum_balance: String§provider: ProviderType§transaction_count: Option<u64>§last_activity: Option<u64>§errors: Vec<String>§cached: boolTrait Implementations§
Source§impl Clone for SolvencyReport
impl Clone for SolvencyReport
Source§fn clone(&self) -> SolvencyReport
fn clone(&self) -> SolvencyReport
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 SolvencyReport
impl Debug for SolvencyReport
Source§impl<'de> Deserialize<'de> for SolvencyReport
impl<'de> Deserialize<'de> for SolvencyReport
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 SolvencyReport
impl RefUnwindSafe for SolvencyReport
impl Send for SolvencyReport
impl Sync for SolvencyReport
impl Unpin for SolvencyReport
impl UnsafeUnpin for SolvencyReport
impl UnwindSafe for SolvencyReport
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