Struct nnsdao_sdk_basic::ChangeProposalStateArg
source · [−]pub struct ChangeProposalStateArg {
pub id: u64,
pub state: ProposalState,
}
Expand description
Change proposal status parameters
Fields
id: u64
state: ProposalState
Trait Implementations
sourceimpl CandidType for ChangeProposalStateArg
impl CandidType for ChangeProposalStateArg
sourceimpl Clone for ChangeProposalStateArg
impl Clone for ChangeProposalStateArg
sourcefn clone(&self) -> ChangeProposalStateArg
fn clone(&self) -> ChangeProposalStateArg
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ChangeProposalStateArg
impl Debug for ChangeProposalStateArg
sourceimpl<'de> Deserialize<'de> for ChangeProposalStateArg
impl<'de> Deserialize<'de> for ChangeProposalStateArg
sourcefn 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
sourceimpl Serialize for ChangeProposalStateArg
impl Serialize for ChangeProposalStateArg
Auto Trait Implementations
impl RefUnwindSafe for ChangeProposalStateArg
impl Send for ChangeProposalStateArg
impl Sync for ChangeProposalStateArg
impl Unpin for ChangeProposalStateArg
impl UnwindSafe for ChangeProposalStateArg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more