Enum cosmwasm_std::GovMsg [−][src]
pub enum GovMsg {
Vote {
proposal_id: u64,
vote: VoteOption,
},
}
Variants
Vote
This maps directly to MsgVote in the Cosmos SDK with voter set to the contract address.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for GovMsg
impl UnwindSafe for GovMsg
Blanket Implementations
Mutably borrows from an owned value. Read more