pub enum VoteType {
Prevote,
Precommit,
}Expand description
The type of vote.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for VoteType
impl<'de> Deserialize<'de> for VoteType
Source§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
Source§impl Ord for VoteType
impl Ord for VoteType
Source§impl PartialOrd for VoteType
impl PartialOrd for VoteType
impl Eq for VoteType
impl StructuralPartialEq for VoteType
Auto Trait Implementations§
impl Freeze for VoteType
impl RefUnwindSafe for VoteType
impl Send for VoteType
impl Sync for VoteType
impl Unpin for VoteType
impl UnwindSafe for VoteType
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