Struct blockfrost_openapi::models::network_stake::NetworkStake
source · 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§fn eq(&self, other: &NetworkStake) -> bool
fn eq(&self, other: &NetworkStake) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for NetworkStake
impl Serialize for NetworkStake
impl StructuralPartialEq for NetworkStake
Auto Trait Implementations§
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