pub struct NnsNeuronInfoReport {
pub context: NnsGovernanceReportContext,
pub cache_path: Option<String>,
pub from_cache: bool,
pub verbose: bool,
pub neuron: NnsNeuronRow,
}Expand description
NnsNeuronInfoReport
Serializable public view of one NNS neuron.
Fields§
§context: NnsGovernanceReportContextShared Governance authority and transport provenance.
cache_path: Option<String>Cache path when the row came from a complete snapshot.
from_cache: boolWhether the row came from a complete local snapshot.
verbose: boolWhether verbose text rendering was requested.
neuron: NnsNeuronRowPublic Governance neuron view.
Trait Implementations§
Source§impl Clone for NnsNeuronInfoReport
impl Clone for NnsNeuronInfoReport
Source§fn clone(&self) -> NnsNeuronInfoReport
fn clone(&self) -> NnsNeuronInfoReport
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 NnsNeuronInfoReport
impl Debug for NnsNeuronInfoReport
Source§impl<'de> Deserialize<'de> for NnsNeuronInfoReport
impl<'de> Deserialize<'de> for NnsNeuronInfoReport
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 NnsNeuronInfoReport
Source§impl PartialEq for NnsNeuronInfoReport
impl PartialEq for NnsNeuronInfoReport
Source§impl Serialize for NnsNeuronInfoReport
impl Serialize for NnsNeuronInfoReport
impl StructuralPartialEq for NnsNeuronInfoReport
Auto Trait Implementations§
impl Freeze for NnsNeuronInfoReport
impl RefUnwindSafe for NnsNeuronInfoReport
impl Send for NnsNeuronInfoReport
impl Sync for NnsNeuronInfoReport
impl Unpin for NnsNeuronInfoReport
impl UnsafeUnpin for NnsNeuronInfoReport
impl UnwindSafe for NnsNeuronInfoReport
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