pub struct NnsProposalListReport {Show 22 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 data_source: String,
pub cache_path: Option<String>,
pub cache_complete: Option<bool>,
pub requested_limit: u32,
pub before_proposal_id: Option<u64>,
pub status_filter: String,
pub reward_status_filter: String,
pub topic_filter: String,
pub proposer_filter: Option<u64>,
pub query_filter: Option<String>,
pub sort: String,
pub sort_direction: String,
pub result_scope: String,
pub verbose: bool,
pub proposal_count: usize,
pub proposals: Vec<NnsProposalRow>,
}Expand description
NnsProposalListReport
Serializable report for a bounded NNS governance proposal listing.
Fields§
§schema_version: u32§network: String§governance_canister_id: String§fetched_at: String§source_endpoint: String§fetched_by: String§data_source: String§cache_path: Option<String>§cache_complete: Option<bool>§requested_limit: u32§before_proposal_id: Option<u64>§status_filter: String§reward_status_filter: String§topic_filter: String§proposer_filter: Option<u64>§query_filter: Option<String>§sort: String§sort_direction: String§result_scope: String§verbose: bool§proposal_count: usize§proposals: Vec<NnsProposalRow>Trait Implementations§
Source§impl Clone for NnsProposalListReport
impl Clone for NnsProposalListReport
Source§fn clone(&self) -> NnsProposalListReport
fn clone(&self) -> NnsProposalListReport
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 NnsProposalListReport
impl Debug for NnsProposalListReport
Source§impl<'de> Deserialize<'de> for NnsProposalListReport
impl<'de> Deserialize<'de> for NnsProposalListReport
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 NnsProposalListReport
Source§impl PartialEq for NnsProposalListReport
impl PartialEq for NnsProposalListReport
Source§impl Serialize for NnsProposalListReport
impl Serialize for NnsProposalListReport
impl StructuralPartialEq for NnsProposalListReport
Auto Trait Implementations§
impl Freeze for NnsProposalListReport
impl RefUnwindSafe for NnsProposalListReport
impl Send for NnsProposalListReport
impl Sync for NnsProposalListReport
impl Unpin for NnsProposalListReport
impl UnsafeUnpin for NnsProposalListReport
impl UnwindSafe for NnsProposalListReport
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