Struct mirror_protocol::gov::PollResponse [−][src]
pub struct PollResponse {Show 15 fields
pub id: u64,
pub creator: String,
pub status: PollStatus,
pub end_time: u64,
pub title: String,
pub description: String,
pub link: Option<String>,
pub deposit_amount: Uint128,
pub execute_data: Option<PollExecuteMsg>,
pub yes_votes: Uint128,
pub no_votes: Uint128,
pub abstain_votes: Uint128,
pub total_balance_at_end_poll: Option<Uint128>,
pub voters_reward: Uint128,
pub staked_amount: Option<Uint128>,
}
Fields
id: u64
creator: String
status: PollStatus
end_time: u64
title: String
description: String
link: Option<String>
deposit_amount: Uint128
execute_data: Option<PollExecuteMsg>
yes_votes: Uint128
no_votes: Uint128
abstain_votes: Uint128
total_balance_at_end_poll: Option<Uint128>
voters_reward: Uint128
staked_amount: Option<Uint128>
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PollResponse
impl Send for PollResponse
impl Sync for PollResponse
impl Unpin for PollResponse
impl UnwindSafe for PollResponse
Blanket Implementations
Mutably borrows from an owned value. Read more