pub struct VoteId(/* private fields */);Expand description
Unique identifier for a vote.
Implementations§
Trait Implementations§
impl Copy for VoteId
Source§impl<'de> Deserialize<'de> for VoteId
impl<'de> Deserialize<'de> for VoteId
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
impl Eq for VoteId
Source§impl Ord for VoteId
impl Ord for VoteId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for VoteId
impl PartialOrd for VoteId
impl StructuralPartialEq for VoteId
Auto Trait Implementations§
impl Freeze for VoteId
impl RefUnwindSafe for VoteId
impl Send for VoteId
impl Sync for VoteId
impl Unpin for VoteId
impl UnsafeUnpin for VoteId
impl UnwindSafe for VoteId
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