pub struct NnsNeuronListReport {
pub context: NnsGovernanceReportContext,
pub provenance: ReportProvenance,
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 neurons: Vec<NnsNeuronRow>,
}Expand description
NnsNeuronListReport
Serializable page from the public NNS Governance neuron index.
Fields§
§context: NnsGovernanceReportContextShared Governance authority and transport provenance.
provenance: ReportProvenanceLive acquisition or complete-cache origin.
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.
neurons: Vec<NnsNeuronRow>Canonically ascending neuron rows.
Trait Implementations§
Source§impl Clone for NnsNeuronListReport
impl Clone for NnsNeuronListReport
Source§impl Debug for NnsNeuronListReport
impl Debug for NnsNeuronListReport
Source§impl<'de> Deserialize<'de> for NnsNeuronListReport
impl<'de> Deserialize<'de> for NnsNeuronListReport
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 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 Forget for NnsNeuronListReport
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