pub struct NetworkStats { /* private fields */ }Implementations§
Source§impl NetworkStats
impl NetworkStats
pub fn active_accounts<T>(self, value: T) -> Self
pub fn current_btc_price_usd<T>(self, value: T) -> Self
pub fn total_value_locked_sats<T>(self, value: T) -> Self
pub fn total_value_locked_usd<T>(self, value: T) -> Self
pub fn transactions24h<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for NetworkStats
impl Clone for NetworkStats
Source§fn clone(&self) -> NetworkStats
fn clone(&self) -> NetworkStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NetworkStats
impl Debug for NetworkStats
Source§impl Default for NetworkStats
impl Default for NetworkStats
Source§impl From<NetworkStats> for NetworkStats
impl From<NetworkStats> for NetworkStats
Source§fn from(value: NetworkStats) -> Self
fn from(value: NetworkStats) -> Self
Converts to this type from the input type.
Source§impl TryFrom<NetworkStats> for NetworkStats
impl TryFrom<NetworkStats> for NetworkStats
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: NetworkStats) -> Result<Self, ConversionError>
fn try_from(value: NetworkStats) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for NetworkStats
impl RefUnwindSafe for NetworkStats
impl Send for NetworkStats
impl Sync for NetworkStats
impl Unpin for NetworkStats
impl UnsafeUnpin for NetworkStats
impl UnwindSafe for NetworkStats
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