Struct anchor_token::gov::PollResponse
source ·
[−]pub struct PollResponse {Show 13 fields
pub id: u64,
pub creator: String,
pub status: PollStatus,
pub end_height: u64,
pub title: String,
pub description: String,
pub link: Option<String>,
pub deposit_amount: Uint128,
pub execute_data: Option<Vec<PollExecuteMsg>>,
pub yes_votes: Uint128,
pub no_votes: Uint128,
pub staked_amount: Option<Uint128>,
pub total_balance_at_end_poll: Option<Uint128>,
}
Fields
id: u64
creator: String
status: PollStatus
end_height: u64
title: String
description: String
link: Option<String>
deposit_amount: Uint128
execute_data: Option<Vec<PollExecuteMsg>>
yes_votes: Uint128
no_votes: Uint128
staked_amount: Option<Uint128>
total_balance_at_end_poll: 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