pub struct NnsProposalActivityReport {Show 20 fields
pub schema_version: u32,
pub network: String,
pub governance_canister_id: String,
pub source: NnsGovernanceSourceProvenance,
pub collection_started_at: String,
pub collection_updated_at: String,
pub collection_page_count: u32,
pub collected_proposal_count: u64,
pub point_in_time_guaranteed: bool,
pub from_proposal_timestamp_seconds: Option<u64>,
pub until_proposal_timestamp_seconds: Option<u64>,
pub included_proposal_count: u64,
pub excluded_before_from_count: u64,
pub excluded_at_or_after_until_count: u64,
pub earliest_included_proposal_timestamp_seconds: Option<u64>,
pub latest_included_proposal_timestamp_seconds: Option<u64>,
pub topic_counts: Vec<NnsProposalTopicCount>,
pub status_counts: Vec<NnsProposalStatusCount>,
pub reward_status_counts: Vec<NnsProposalRewardStatusCount>,
pub day_counts: Vec<NnsProposalDayCount>,
}Expand description
NnsProposalActivityReport
Deterministic local activity projection over one complete NNS proposal collection.
Fields§
§schema_version: u32Report schema version.
network: StringNetwork identity retained by the complete collection.
governance_canister_id: StringFixed NNS Governance canister principal retained by the collection.
source: NnsGovernanceSourceProvenanceConcrete transport and collector provenance retained by the collection.
collection_started_at: StringCaller-supplied time attached to collection creation.
collection_updated_at: StringCaller-supplied time attached to the final admitted page.
collection_page_count: u32Number of admitted source pages in the complete collection.
collected_proposal_count: u64Number of admitted proposal rows in the complete collection.
point_in_time_guaranteed: boolWhether the sequential collection is guaranteed to represent one point in time.
from_proposal_timestamp_seconds: Option<u64>Inclusive lower proposal-creation timestamp bound requested by the caller.
until_proposal_timestamp_seconds: Option<u64>Exclusive upper proposal-creation timestamp bound requested by the caller.
included_proposal_count: u64Number of proposals included by the local time window.
excluded_before_from_count: u64Number of proposals excluded before the inclusive lower bound.
excluded_at_or_after_until_count: u64Number of proposals excluded at or after the exclusive upper bound.
earliest_included_proposal_timestamp_seconds: Option<u64>Earliest creation timestamp among included proposals.
latest_included_proposal_timestamp_seconds: Option<u64>Latest creation timestamp among included proposals.
topic_counts: Vec<NnsProposalTopicCount>Canonically raw-code-ordered proposal counts by topic.
status_counts: Vec<NnsProposalStatusCount>Canonically raw-code-ordered proposal counts by decision status.
reward_status_counts: Vec<NnsProposalRewardStatusCount>Canonically raw-code-ordered proposal counts by reward status.
day_counts: Vec<NnsProposalDayCount>Canonically time-ordered proposal counts by UTC creation day.
Trait Implementations§
Source§impl Clone for NnsProposalActivityReport
impl Clone for NnsProposalActivityReport
Source§fn clone(&self) -> NnsProposalActivityReport
fn clone(&self) -> NnsProposalActivityReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more