Enum redgold_schema::structs::HashFormatType
source · #[repr(i32)]pub enum HashFormatType {
Sha3256 = 0,
}Variants§
Sha3256 = 0
Implementations§
Trait Implementations§
source§impl Clone for HashFormatType
impl Clone for HashFormatType
source§fn clone(&self) -> HashFormatType
fn clone(&self) -> HashFormatType
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 HashFormatType
impl Debug for HashFormatType
source§impl Default for HashFormatType
impl Default for HashFormatType
source§fn default() -> HashFormatType
fn default() -> HashFormatType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HashFormatType
impl<'de> Deserialize<'de> for HashFormatType
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<HashFormatType> for i32
impl From<HashFormatType> for i32
source§fn from(value: HashFormatType) -> i32
fn from(value: HashFormatType) -> i32
Converts to this type from the input type.
source§impl FromStr for HashFormatType
impl FromStr for HashFormatType
source§impl Hash for HashFormatType
impl Hash for HashFormatType
source§impl IntoEnumIterator for HashFormatType
impl IntoEnumIterator for HashFormatType
type Iterator = HashFormatTypeIter
fn iter() -> HashFormatTypeIter ⓘ
source§impl Ord for HashFormatType
impl Ord for HashFormatType
source§fn cmp(&self, other: &HashFormatType) -> Ordering
fn cmp(&self, other: &HashFormatType) -> 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 HashFormatType
impl PartialEq for HashFormatType
source§fn eq(&self, other: &HashFormatType) -> bool
fn eq(&self, other: &HashFormatType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for HashFormatType
impl PartialOrd for HashFormatType
source§fn partial_cmp(&self, other: &HashFormatType) -> Option<Ordering>
fn partial_cmp(&self, other: &HashFormatType) -> 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 HashFormatType
impl Serialize for HashFormatType
source§impl TryFrom<&str> for HashFormatType
impl TryFrom<&str> for HashFormatType
impl Copy for HashFormatType
impl Eq for HashFormatType
impl StructuralEq for HashFormatType
impl StructuralPartialEq for HashFormatType
Auto Trait Implementations§
impl RefUnwindSafe for HashFormatType
impl Send for HashFormatType
impl Sync for HashFormatType
impl Unpin for HashFormatType
impl UnwindSafe for HashFormatType
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