pub struct NetworkStake {
pub live: String,
pub active: String,
}Fields§
§live: StringCurrent live stake in Lovelaces
active: StringCurrent active stake in Lovelaces
Implementations§
Source§impl NetworkStake
impl NetworkStake
pub fn new(live: String, active: String) -> NetworkStake
Trait Implementations§
Source§impl Clone for NetworkStake
impl Clone for NetworkStake
Source§fn clone(&self) -> NetworkStake
fn clone(&self) -> NetworkStake
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 NetworkStake
impl Debug for NetworkStake
Source§impl Default for NetworkStake
impl Default for NetworkStake
Source§fn default() -> NetworkStake
fn default() -> NetworkStake
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NetworkStake
impl<'de> Deserialize<'de> for NetworkStake
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 PartialEq for NetworkStake
impl PartialEq for NetworkStake
Source§impl Serialize for NetworkStake
impl Serialize for NetworkStake
impl StructuralPartialEq for NetworkStake
Auto Trait Implementations§
impl Freeze for NetworkStake
impl RefUnwindSafe for NetworkStake
impl Send for NetworkStake
impl Sync for NetworkStake
impl Unpin for NetworkStake
impl UnwindSafe for NetworkStake
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