Enum cw3::Cw3ExecuteMsg [−][src]
pub enum Cw3ExecuteMsg<T = Empty> where
T: Clone + Debug + PartialEq + JsonSchema, {
Propose {
title: String,
description: String,
msgs: Vec<CosmosMsg<T>>,
earliest: Option<Expiration>,
latest: Option<Expiration>,
},
Vote {
proposal_id: u64,
vote: Vote,
},
Execute {
proposal_id: u64,
},
Close {
proposal_id: u64,
},
}
Variants
Propose
Vote
Execute
Fields
proposal_id: u64
Close
Fields
proposal_id: u64
Trait Implementations
impl<'de, T> Deserialize<'de> for Cw3ExecuteMsg<T> where
T: Clone + Debug + PartialEq + JsonSchema,
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for Cw3ExecuteMsg<T> where
T: Clone + Debug + PartialEq + JsonSchema,
T: Deserialize<'de>,
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<T: JsonSchema> JsonSchema for Cw3ExecuteMsg<T> where
T: Clone + Debug + PartialEq + JsonSchema,
impl<T: JsonSchema> JsonSchema for Cw3ExecuteMsg<T> where
T: Clone + Debug + PartialEq + JsonSchema,
impl<T: PartialEq> PartialEq<Cw3ExecuteMsg<T>> for Cw3ExecuteMsg<T> where
T: Clone + Debug + PartialEq + JsonSchema,
impl<T: PartialEq> PartialEq<Cw3ExecuteMsg<T>> for Cw3ExecuteMsg<T> where
T: Clone + Debug + PartialEq + JsonSchema,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<T> Serialize for Cw3ExecuteMsg<T> where
T: Clone + Debug + PartialEq + JsonSchema,
T: Serialize,
impl<T> Serialize for Cw3ExecuteMsg<T> where
T: Clone + Debug + PartialEq + JsonSchema,
T: Serialize,
impl<T> StructuralPartialEq for Cw3ExecuteMsg<T> where
T: Clone + Debug + PartialEq + JsonSchema,
Auto Trait Implementations
impl<T> RefUnwindSafe for Cw3ExecuteMsg<T> where
T: RefUnwindSafe,
impl<T> Send for Cw3ExecuteMsg<T> where
T: Send,
impl<T> Sync for Cw3ExecuteMsg<T> where
T: Sync,
impl<T> Unpin for Cw3ExecuteMsg<T> where
T: Unpin,
impl<T> UnwindSafe for Cw3ExecuteMsg<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more