pub struct SnsNeuronDetail {
pub neuron: SnsNeuronRow,
pub permissions: Vec<SnsNeuronPermissionRow>,
pub disburse_maturity_in_progress: Vec<SnsMaturityDisbursementRow>,
pub followees: Vec<SnsNeuronFolloweesRow>,
pub topic_followees: Option<Vec<SnsNeuronTopicFolloweesRow>>,
pub maturity_mint_conversion_observed_disabled: SnsPolicyObservationStatus,
pub manual_maturity_staking_observed_disabled: SnsPolicyObservationStatus,
}Expand description
SnsNeuronDetail
Full native detail evidence for exactly one SNS neuron.
Fields§
§neuron: SnsNeuronRowFixed-size neuron state shared with bounded list and snapshot rows.
permissions: Vec<SnsNeuronPermissionRow>Every current principal permission entry.
disburse_maturity_in_progress: Vec<SnsMaturityDisbursementRow>Every pending maturity disbursement.
followees: Vec<SnsNeuronFolloweesRow>Legacy function-based followees.
topic_followees: Option<Vec<SnsNeuronTopicFolloweesRow>>Topic-based followees when the native optional collection is present.
maturity_mint_conversion_observed_disabled: SnsPolicyObservationStatusObserved status for disabling maturity mint conversions through permissions 7 and 8.
manual_maturity_staking_observed_disabled: SnsPolicyObservationStatusObserved status for disabling manual maturity staking through permission 9.
Implementations§
Source§impl SnsNeuronDetail
impl SnsNeuronDetail
Sourcepub fn derived_policy_observations(
&self,
) -> (SnsPolicyObservationStatus, SnsPolicyObservationStatus)
pub fn derived_policy_observations( &self, ) -> (SnsPolicyObservationStatus, SnsPolicyObservationStatus)
Recompute both neuron-local maturity policy observations from raw evidence.
Trait Implementations§
Source§impl Clone for SnsNeuronDetail
impl Clone for SnsNeuronDetail
Source§fn clone(&self) -> SnsNeuronDetail
fn clone(&self) -> SnsNeuronDetail
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 SnsNeuronDetail
impl Debug for SnsNeuronDetail
Source§impl<'de> Deserialize<'de> for SnsNeuronDetail
impl<'de> Deserialize<'de> for SnsNeuronDetail
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 SnsNeuronDetail
Source§impl PartialEq for SnsNeuronDetail
impl PartialEq for SnsNeuronDetail
Source§impl Serialize for SnsNeuronDetail
impl Serialize for SnsNeuronDetail
impl StructuralPartialEq for SnsNeuronDetail
Auto Trait Implementations§
impl Freeze for SnsNeuronDetail
impl RefUnwindSafe for SnsNeuronDetail
impl Send for SnsNeuronDetail
impl Sync for SnsNeuronDetail
impl Unpin for SnsNeuronDetail
impl UnsafeUnpin for SnsNeuronDetail
impl UnwindSafe for SnsNeuronDetail
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