Enum abstract_cw3::Cw3ExecuteMsg
source · pub enum Cw3ExecuteMsg<T = Empty>{
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§
Trait Implementations§
source§impl<T> Clone for Cw3ExecuteMsg<T>
impl<T> Clone for Cw3ExecuteMsg<T>
source§fn clone(&self) -> Cw3ExecuteMsg<T>
fn clone(&self) -> Cw3ExecuteMsg<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<T> Debug for Cw3ExecuteMsg<T>
impl<T> Debug for Cw3ExecuteMsg<T>
source§impl<'de, T> Deserialize<'de> for Cw3ExecuteMsg<T>
impl<'de, T> Deserialize<'de> for Cw3ExecuteMsg<T>
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
source§impl<T> JsonSchema for Cw3ExecuteMsg<T>
impl<T> JsonSchema for Cw3ExecuteMsg<T>
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresource§impl<T> PartialEq for Cw3ExecuteMsg<T>
impl<T> PartialEq for Cw3ExecuteMsg<T>
source§fn eq(&self, other: &Cw3ExecuteMsg<T>) -> bool
fn eq(&self, other: &Cw3ExecuteMsg<T>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<T> Serialize for Cw3ExecuteMsg<T>
impl<T> Serialize for Cw3ExecuteMsg<T>
impl<T> StructuralPartialEq for Cw3ExecuteMsg<T>
Auto Trait Implementations§
impl<T> Freeze for Cw3ExecuteMsg<T>
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§
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