pub struct ProposalContractVersion(/* private fields */);Expand description
Sole maintained proposal contract version.
Implementations§
Trait Implementations§
Source§impl CandidType for ProposalContractVersion
impl CandidType for ProposalContractVersion
Source§impl Clone for ProposalContractVersion
impl Clone for ProposalContractVersion
Source§fn clone(&self) -> ProposalContractVersion
fn clone(&self) -> ProposalContractVersion
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 moreimpl Copy for ProposalContractVersion
Source§impl Debug for ProposalContractVersion
impl Debug for ProposalContractVersion
Source§impl<'de> Deserialize<'de> for ProposalContractVersion
impl<'de> Deserialize<'de> for ProposalContractVersion
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 ProposalContractVersion
Source§impl Hash for ProposalContractVersion
impl Hash for ProposalContractVersion
Source§impl Ord for ProposalContractVersion
impl Ord for ProposalContractVersion
Source§fn cmp(&self, other: &ProposalContractVersion) -> Ordering
fn cmp(&self, other: &ProposalContractVersion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProposalContractVersion
impl PartialEq for ProposalContractVersion
Source§impl PartialOrd for ProposalContractVersion
impl PartialOrd for ProposalContractVersion
Source§impl Serialize for ProposalContractVersion
impl Serialize for ProposalContractVersion
impl StructuralPartialEq for ProposalContractVersion
Auto Trait Implementations§
impl Freeze for ProposalContractVersion
impl RefUnwindSafe for ProposalContractVersion
impl Send for ProposalContractVersion
impl Sync for ProposalContractVersion
impl Unpin for ProposalContractVersion
impl UnsafeUnpin for ProposalContractVersion
impl UnwindSafe for ProposalContractVersion
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