pub struct NnsNeuronInfoReport {
pub schema_version: u32,
pub network: String,
pub governance_canister_id: String,
pub fetched_at: String,
pub source_endpoint: String,
pub fetched_by: String,
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§
§schema_version: u32Report schema version.
network: StringQueried network identity.
governance_canister_id: StringNNS Governance canister principal.
fetched_at: StringUTC collection timestamp.
source_endpoint: StringReplica endpoint or cached snapshot endpoint provenance.
fetched_by: StringCollector identity.
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
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