pub struct ValidatorStake {
pub active_stake: u64,
pub unbonding: Vec<UnbondingEntry>,
pub jailed_until: Option<u64>,
}Fields§
§active_stake: u64§unbonding: Vec<UnbondingEntry>§jailed_until: Option<u64>Implementations§
Trait Implementations§
Source§impl Clone for ValidatorStake
impl Clone for ValidatorStake
Source§fn clone(&self) -> ValidatorStake
fn clone(&self) -> ValidatorStake
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 ValidatorStake
impl Debug for ValidatorStake
Source§impl<'de> Deserialize<'de> for ValidatorStake
impl<'de> Deserialize<'de> for ValidatorStake
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 ValidatorStake
impl PartialEq for ValidatorStake
Source§fn eq(&self, other: &ValidatorStake) -> bool
fn eq(&self, other: &ValidatorStake) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ValidatorStake
impl Serialize for ValidatorStake
impl StructuralPartialEq for ValidatorStake
Auto Trait Implementations§
impl Freeze for ValidatorStake
impl RefUnwindSafe for ValidatorStake
impl Send for ValidatorStake
impl Sync for ValidatorStake
impl Unpin for ValidatorStake
impl UnsafeUnpin for ValidatorStake
impl UnwindSafe for ValidatorStake
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