Struct jormungandr_lib::interfaces::committee::CommitteeIdDef
source · pub struct CommitteeIdDef([u8; 32]);
Expand description
remove serde encoding for the CommitteeId
Tuple Fields§
§0: [u8; 32]
Implementations§
source§impl CommitteeIdDef
impl CommitteeIdDef
pub fn serialize<__S>( __self: &CommitteeId, __serializer: __S ) -> Result<__S::Ok, __S::Error>where __S: Serializer,
source§impl<'de> CommitteeIdDef
impl<'de> CommitteeIdDef
pub fn deserialize<__D>(__deserializer: __D) -> Result<CommitteeId, __D::Error>where __D: Deserializer<'de>,
Trait Implementations§
source§impl Clone for CommitteeIdDef
impl Clone for CommitteeIdDef
source§fn clone(&self) -> CommitteeIdDef
fn clone(&self) -> CommitteeIdDef
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 CommitteeIdDef
impl Debug for CommitteeIdDef
source§impl<'de> Deserialize<'de> for CommitteeIdDef
impl<'de> Deserialize<'de> for CommitteeIdDef
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 From<CommitteeId> for CommitteeIdDef
impl From<CommitteeId> for CommitteeIdDef
source§fn from(committee_id: CommitteeId) -> Self
fn from(committee_id: CommitteeId) -> Self
Converts to this type from the input type.
source§impl From<CommitteeIdDef> for CommitteeId
impl From<CommitteeIdDef> for CommitteeId
source§fn from(committee_id_def: CommitteeIdDef) -> Self
fn from(committee_id_def: CommitteeIdDef) -> Self
Converts to this type from the input type.
source§impl Hash for CommitteeIdDef
impl Hash for CommitteeIdDef
source§impl Ord for CommitteeIdDef
impl Ord for CommitteeIdDef
source§fn cmp(&self, other: &CommitteeIdDef) -> Ordering
fn cmp(&self, other: &CommitteeIdDef) -> 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<CommitteeIdDef> for CommitteeIdDef
impl PartialEq<CommitteeIdDef> for CommitteeIdDef
source§fn eq(&self, other: &CommitteeIdDef) -> bool
fn eq(&self, other: &CommitteeIdDef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CommitteeIdDef> for CommitteeIdDef
impl PartialOrd<CommitteeIdDef> for CommitteeIdDef
source§fn partial_cmp(&self, other: &CommitteeIdDef) -> Option<Ordering>
fn partial_cmp(&self, other: &CommitteeIdDef) -> 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 moresource§impl Serialize for CommitteeIdDef
impl Serialize for CommitteeIdDef
impl Copy for CommitteeIdDef
impl Eq for CommitteeIdDef
impl StructuralEq for CommitteeIdDef
impl StructuralPartialEq for CommitteeIdDef
Auto Trait Implementations§
impl RefUnwindSafe for CommitteeIdDef
impl Send for CommitteeIdDef
impl Sync for CommitteeIdDef
impl Unpin for CommitteeIdDef
impl UnwindSafe for CommitteeIdDef
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