pub enum VotingStateInTime {
BeforeInformal,
Informal,
BetweenVotings,
Formal,
AfterFormal,
}
Expand description
The Voting process progression.
Variants§
Trait Implementations§
source§impl BorshDeserialize for VotingStateInTime
impl BorshDeserialize for VotingStateInTime
source§fn deserialize(buf: &mut &[u8]) -> Result<Self>
fn deserialize(buf: &mut &[u8]) -> Result<Self>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
source§impl BorshSerialize for VotingStateInTime
impl BorshSerialize for VotingStateInTime
source§impl Clone for VotingStateInTime
impl Clone for VotingStateInTime
source§fn clone(&self) -> VotingStateInTime
fn clone(&self) -> VotingStateInTime
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for VotingStateInTime
impl Send for VotingStateInTime
impl Sync for VotingStateInTime
impl Unpin for VotingStateInTime
impl UnwindSafe for VotingStateInTime
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more