pub struct SnsNeuronRow {
pub neuron_id: String,
pub cached_neuron_stake_e8s: u64,
pub maturity_e8s_equivalent: u64,
pub staked_maturity_e8s_equivalent: Option<u64>,
pub created_timestamp_seconds: u64,
pub created_at: String,
}Expand description
SnsNeuronRow
Serializable row for one SNS neuron in live reports and cached snapshots.
Fields§
§neuron_id: String§cached_neuron_stake_e8s: u64§maturity_e8s_equivalent: u64§staked_maturity_e8s_equivalent: Option<u64>§created_timestamp_seconds: u64§created_at: StringTrait Implementations§
Source§impl Clone for SnsNeuronRow
impl Clone for SnsNeuronRow
Source§fn clone(&self) -> SnsNeuronRow
fn clone(&self) -> SnsNeuronRow
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 SnsNeuronRow
impl Debug for SnsNeuronRow
Source§impl<'de> Deserialize<'de> for SnsNeuronRow
impl<'de> Deserialize<'de> for SnsNeuronRow
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
impl Eq for SnsNeuronRow
Source§impl PartialEq for SnsNeuronRow
impl PartialEq for SnsNeuronRow
Source§fn eq(&self, other: &SnsNeuronRow) -> bool
fn eq(&self, other: &SnsNeuronRow) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SnsNeuronRow
impl Serialize for SnsNeuronRow
impl StructuralPartialEq for SnsNeuronRow
Auto Trait Implementations§
impl Freeze for SnsNeuronRow
impl RefUnwindSafe for SnsNeuronRow
impl Send for SnsNeuronRow
impl Sync for SnsNeuronRow
impl Unpin for SnsNeuronRow
impl UnsafeUnpin for SnsNeuronRow
impl UnwindSafe for SnsNeuronRow
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.