Enum ibc_proto::cosmos::gov::v1beta1::ProposalStatus [−][src]
#[repr(i32)]
pub enum ProposalStatus {
Unspecified,
DepositPeriod,
VotingPeriod,
Passed,
Rejected,
Failed,
}
Expand description
ProposalStatus enumerates the valid statuses of a proposal.
Variants
Unspecified
PROPOSAL_STATUS_UNSPECIFIED defines the default propopsal status.
DepositPeriod
PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit period.
VotingPeriod
PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting period.
Passed
PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has passed.
Rejected
PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has been rejected.
Failed
PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has failed.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ProposalStatus
impl Send for ProposalStatus
impl Sync for ProposalStatus
impl Unpin for ProposalStatus
impl UnwindSafe for ProposalStatus
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more