Enum rust_ipns::ValidityType
source · #[repr(i32)]pub enum ValidityType {
EOL = 0,
}
Variants§
EOL = 0
Trait Implementations§
source§impl Clone for ValidityType
impl Clone for ValidityType
source§fn clone(&self) -> ValidityType
fn clone(&self) -> ValidityType
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 ValidityType
impl Debug for ValidityType
source§impl Decode<DagCborCodec> for ValidityType
impl Decode<DagCborCodec> for ValidityType
source§impl<'de> Deserialize<'de> for ValidityType
impl<'de> Deserialize<'de> for ValidityType
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 Display for ValidityType
impl Display for ValidityType
source§impl Encode<DagCborCodec> for ValidityType
impl Encode<DagCborCodec> for ValidityType
source§impl From<ValidityType> for i32
impl From<ValidityType> for i32
source§fn from(ty: ValidityType) -> Self
fn from(ty: ValidityType) -> Self
Converts to this type from the input type.
source§impl Hash for ValidityType
impl Hash for ValidityType
source§impl Ord for ValidityType
impl Ord for ValidityType
source§fn cmp(&self, other: &ValidityType) -> Ordering
fn cmp(&self, other: &ValidityType) -> 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 for ValidityType
impl PartialEq for ValidityType
source§fn eq(&self, other: &ValidityType) -> bool
fn eq(&self, other: &ValidityType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ValidityType
impl PartialOrd for ValidityType
source§fn partial_cmp(&self, other: &ValidityType) -> Option<Ordering>
fn partial_cmp(&self, other: &ValidityType) -> 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 ValidityType
impl Serialize for ValidityType
impl Copy for ValidityType
impl Eq for ValidityType
impl StructuralEq for ValidityType
impl StructuralPartialEq for ValidityType
Auto Trait Implementations§
impl RefUnwindSafe for ValidityType
impl Send for ValidityType
impl Sync for ValidityType
impl Unpin for ValidityType
impl UnwindSafe for ValidityType
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