pub struct SnsProposalRequest {
pub network: String,
pub source_endpoint: String,
pub now_unix_secs: u64,
pub input: String,
pub proposal_id: u64,
pub icp_root: Option<PathBuf>,
pub verbose: bool,
pub show_ballots: bool,
}Expand description
SnsProposalRequest
Request accepted by the direct SNS proposal detail report builder.
Fields§
§network: String§source_endpoint: String§now_unix_secs: u64§input: String§proposal_id: u64§icp_root: Option<PathBuf>§verbose: bool§show_ballots: boolTrait Implementations§
Source§impl Clone for SnsProposalRequest
impl Clone for SnsProposalRequest
Source§fn clone(&self) -> SnsProposalRequest
fn clone(&self) -> SnsProposalRequest
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 SnsProposalRequest
impl Debug for SnsProposalRequest
impl Eq for SnsProposalRequest
Source§impl PartialEq for SnsProposalRequest
impl PartialEq for SnsProposalRequest
Source§fn eq(&self, other: &SnsProposalRequest) -> bool
fn eq(&self, other: &SnsProposalRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SnsProposalRequest
Auto Trait Implementations§
impl Freeze for SnsProposalRequest
impl RefUnwindSafe for SnsProposalRequest
impl Send for SnsProposalRequest
impl Sync for SnsProposalRequest
impl Unpin for SnsProposalRequest
impl UnsafeUnpin for SnsProposalRequest
impl UnwindSafe for SnsProposalRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.