[][src]Enum cw3::Cw3QueryMsg

pub enum Cw3QueryMsg {
    Threshold {},
    Proposal {
        proposal_id: u64,
    },
    ListProposals {
        start_after: Option<u64>,
        limit: Option<u32>,
    },
    ReverseProposals {
        start_before: Option<u64>,
        limit: Option<u32>,
    },
    Vote {
        proposal_id: u64,
        voter: HumanAddr,
    },
    ListVotes {
        proposal_id: u64,
        start_after: Option<HumanAddr>,
        limit: Option<u32>,
    },
    Voter {
        address: HumanAddr,
    },
    ListVoters {
        start_after: Option<HumanAddr>,
        limit: Option<u32>,
    },
}

Variants

Threshold

Return ThresholdResponse

Fields of Threshold

Proposal

Returns ProposalResponse

Fields of Proposal

proposal_id: u64
ListProposals

Returns ProposalListResponse

Fields of ListProposals

start_after: Option<u64>limit: Option<u32>
ReverseProposals

Returns ProposalListResponse

Fields of ReverseProposals

start_before: Option<u64>limit: Option<u32>
Vote

Returns VoteResponse

Fields of Vote

proposal_id: u64voter: HumanAddr
ListVotes

Returns VoteListResponse

Fields of ListVotes

proposal_id: u64start_after: Option<HumanAddr>limit: Option<u32>
Voter

Voter extension: Returns VoterResponse

Fields of Voter

address: HumanAddr
ListVoters

Voter extension: Returns VoterListResponse

Fields of ListVoters

start_after: Option<HumanAddr>limit: Option<u32>

Trait Implementations

impl Clone for Cw3QueryMsg[src]

impl Debug for Cw3QueryMsg[src]

impl<'de> Deserialize<'de> for Cw3QueryMsg[src]

impl JsonSchema for Cw3QueryMsg[src]

impl PartialEq<Cw3QueryMsg> for Cw3QueryMsg[src]

impl Serialize for Cw3QueryMsg[src]

impl StructuralPartialEq for Cw3QueryMsg[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.