Enum anchor_token::gov::QueryMsg
source ·
[−]pub enum QueryMsg {
Config {},
State {},
Staker {
address: String,
},
Poll {
poll_id: u64,
},
Polls {
filter: Option<PollStatus>,
start_after: Option<u64>,
limit: Option<u32>,
order_by: Option<OrderBy>,
},
Voters {
poll_id: u64,
start_after: Option<String>,
limit: Option<u32>,
order_by: Option<OrderBy>,
},
}
Variants
Config
Fields
State
Fields
Staker
Fields
address: String
Poll
Fields
poll_id: u64
Polls
Voters
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 QueryMsg
impl UnwindSafe for QueryMsg
Blanket Implementations
Mutably borrows from an owned value. Read more