Enum jormungandr_lib::interfaces::vote::PayloadTypeDef
source · enum PayloadTypeDef {
Public,
Private,
}
Variants§
Implementations§
source§impl<'de> PayloadTypeDef
impl<'de> PayloadTypeDef
fn deserialize<__D>(__deserializer: __D) -> Result<PayloadType, __D::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for PayloadTypeDef
impl Clone for PayloadTypeDef
source§fn clone(&self) -> PayloadTypeDef
fn clone(&self) -> PayloadTypeDef
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 moresource§impl Debug for PayloadTypeDef
impl Debug for PayloadTypeDef
source§impl Hash for PayloadTypeDef
impl Hash for PayloadTypeDef
source§impl Ord for PayloadTypeDef
impl Ord for PayloadTypeDef
source§fn cmp(&self, other: &PayloadTypeDef) -> Ordering
fn cmp(&self, other: &PayloadTypeDef) -> Ordering
1.21.0 · 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 PartialEq<PayloadTypeDef> for PayloadTypeDef
impl PartialEq<PayloadTypeDef> for PayloadTypeDef
source§fn eq(&self, other: &PayloadTypeDef) -> bool
fn eq(&self, other: &PayloadTypeDef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PayloadTypeDef> for PayloadTypeDef
impl PartialOrd<PayloadTypeDef> for PayloadTypeDef
source§fn partial_cmp(&self, other: &PayloadTypeDef) -> Option<Ordering>
fn partial_cmp(&self, other: &PayloadTypeDef) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PayloadTypeDef
impl Eq for PayloadTypeDef
impl StructuralEq for PayloadTypeDef
impl StructuralPartialEq for PayloadTypeDef
Auto Trait Implementations§
impl RefUnwindSafe for PayloadTypeDef
impl Send for PayloadTypeDef
impl Sync for PayloadTypeDef
impl Unpin for PayloadTypeDef
impl UnwindSafe for PayloadTypeDef
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