Struct anchor_token::gov::ConfigResponse
source ·
[−]pub struct ConfigResponse {
pub owner: String,
pub anchor_token: String,
pub quorum: Decimal,
pub threshold: Decimal,
pub voting_period: u64,
pub timelock_period: u64,
pub proposal_deposit: Uint128,
pub snapshot_period: u64,
}
Fields
owner: String
anchor_token: String
quorum: Decimal
threshold: Decimal
voting_period: u64
timelock_period: u64
proposal_deposit: Uint128
snapshot_period: u64
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 ConfigResponse
impl Send for ConfigResponse
impl Sync for ConfigResponse
impl Unpin for ConfigResponse
impl UnwindSafe for ConfigResponse
Blanket Implementations
Mutably borrows from an owned value. Read more