pub struct SnsProposalsReport {Show 25 fields
pub schema_version: u32,
pub network: String,
pub sns_wasm_canister_id: String,
pub fetched_at: String,
pub source_endpoint: String,
pub fetched_by: String,
pub id: usize,
pub name: String,
pub root_canister_id: String,
pub governance_canister_id: String,
pub requested_limit: u32,
pub before_proposal_id: Option<u64>,
pub status_filter: String,
pub topic_filter: String,
pub eligibility_filter: String,
pub proposer_filter: Option<String>,
pub query_filter: Option<String>,
pub sort: String,
pub sort_direction: String,
pub verbose: bool,
pub data_source: String,
pub cache_path: Option<String>,
pub cache_complete: Option<bool>,
pub proposal_count: usize,
pub proposals: Vec<SnsProposalRow>,
}Expand description
SnsProposalsReport
Serializable report for a bounded SNS governance proposal listing.
Fields§
§schema_version: u32§network: String§sns_wasm_canister_id: String§fetched_at: String§source_endpoint: String§fetched_by: String§id: usize§name: String§root_canister_id: String§governance_canister_id: String§requested_limit: u32§before_proposal_id: Option<u64>§status_filter: String§topic_filter: String§eligibility_filter: String§proposer_filter: Option<String>§query_filter: Option<String>§sort: String§sort_direction: String§verbose: bool§data_source: String§cache_path: Option<String>§cache_complete: Option<bool>§proposal_count: usize§proposals: Vec<SnsProposalRow>Trait Implementations§
Source§impl Clone for SnsProposalsReport
impl Clone for SnsProposalsReport
Source§fn clone(&self) -> SnsProposalsReport
fn clone(&self) -> SnsProposalsReport
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 SnsProposalsReport
impl Debug for SnsProposalsReport
impl Eq for SnsProposalsReport
Source§impl PartialEq for SnsProposalsReport
impl PartialEq for SnsProposalsReport
Source§fn eq(&self, other: &SnsProposalsReport) -> bool
fn eq(&self, other: &SnsProposalsReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SnsProposalsReport
impl Serialize for SnsProposalsReport
impl StructuralPartialEq for SnsProposalsReport
Auto Trait Implementations§
impl Freeze for SnsProposalsReport
impl RefUnwindSafe for SnsProposalsReport
impl Send for SnsProposalsReport
impl Sync for SnsProposalsReport
impl Unpin for SnsProposalsReport
impl UnsafeUnpin for SnsProposalsReport
impl UnwindSafe for SnsProposalsReport
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