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