pub struct NnsProposalReport {Show 13 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 proposal_id: u64,
pub show_ballots: bool,
pub verbose: bool,
pub proposal: NnsProposalRow,
}Expand description
NnsProposalReport
Serializable report for one NNS governance proposal detail lookup.
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>§proposal_id: u64§show_ballots: bool§verbose: bool§proposal: NnsProposalRowTrait Implementations§
Source§impl Clone for NnsProposalReport
impl Clone for NnsProposalReport
Source§fn clone(&self) -> NnsProposalReport
fn clone(&self) -> NnsProposalReport
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 NnsProposalReport
impl Debug for NnsProposalReport
Source§impl<'de> Deserialize<'de> for NnsProposalReport
impl<'de> Deserialize<'de> for NnsProposalReport
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 NnsProposalReport
Source§impl PartialEq for NnsProposalReport
impl PartialEq for NnsProposalReport
Source§impl Serialize for NnsProposalReport
impl Serialize for NnsProposalReport
impl StructuralPartialEq for NnsProposalReport
Auto Trait Implementations§
impl Freeze for NnsProposalReport
impl RefUnwindSafe for NnsProposalReport
impl Send for NnsProposalReport
impl Sync for NnsProposalReport
impl Unpin for NnsProposalReport
impl UnsafeUnpin for NnsProposalReport
impl UnwindSafe for NnsProposalReport
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