pub struct NnsNeuronListReport {Show 16 fields
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 requested_limit: u32,
pub exclusive_start_neuron_id: Option<u64>,
pub next_start_neuron_id: Option<u64>,
pub total_neuron_count: Option<usize>,
pub point_in_time_guaranteed: bool,
pub returned_neuron_count: usize,
pub verbose: bool,
pub neurons: Vec<NnsNeuronRow>,
}Expand description
NnsNeuronListReport
Serializable page from the public NNS Governance neuron index.
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 page came from a complete snapshot.
from_cache: boolWhether rows came from a complete local snapshot.
requested_limit: u32Requested page limit.
exclusive_start_neuron_id: Option<u64>Exclusive lower neuron-id bound.
next_start_neuron_id: Option<u64>Cursor for a possible next page.
total_neuron_count: Option<usize>Total rows in the complete snapshot when known.
point_in_time_guaranteed: boolWhether all returned rows are guaranteed to describe one Governance instant.
returned_neuron_count: usizeNumber of rows returned in this view.
verbose: boolWhether verbose text rendering was requested.
neurons: Vec<NnsNeuronRow>Canonically ascending neuron rows.
Trait Implementations§
Source§impl Clone for NnsNeuronListReport
impl Clone for NnsNeuronListReport
Source§fn clone(&self) -> NnsNeuronListReport
fn clone(&self) -> NnsNeuronListReport
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 NnsNeuronListReport
impl Debug for NnsNeuronListReport
impl Eq for NnsNeuronListReport
Source§impl PartialEq for NnsNeuronListReport
impl PartialEq for NnsNeuronListReport
Source§impl Serialize for NnsNeuronListReport
impl Serialize for NnsNeuronListReport
impl StructuralPartialEq for NnsNeuronListReport
Auto Trait Implementations§
impl Freeze for NnsNeuronListReport
impl RefUnwindSafe for NnsNeuronListReport
impl Send for NnsNeuronListReport
impl Sync for NnsNeuronListReport
impl Unpin for NnsNeuronListReport
impl UnsafeUnpin for NnsNeuronListReport
impl UnwindSafe for NnsNeuronListReport
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