Enum redgold_schema::structs::HashType
source · #[repr(i32)]pub enum HashType {
Transaction = 0,
ObservationMetadata = 1,
ObservationMerkleRoot = 2,
Tombstone = 3,
Address = 4,
Unknown = 5,
UtxoId = 6,
}Variants§
Transaction = 0
ObservationMetadata = 1
ObservationMerkleRoot = 2
Tombstone = 3
Address = 4
Unknown = 5
UtxoId = 6
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for HashType
impl<'de> Deserialize<'de> for HashType
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 IntoEnumIterator for HashType
impl IntoEnumIterator for HashType
type Iterator = HashTypeIter
fn iter() -> HashTypeIter ⓘ
source§impl Ord for HashType
impl Ord for HashType
source§impl PartialEq for HashType
impl PartialEq for HashType
source§impl PartialOrd for HashType
impl PartialOrd for HashType
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 HashType
impl Eq for HashType
impl StructuralEq for HashType
impl StructuralPartialEq for HashType
Auto Trait Implementations§
impl RefUnwindSafe for HashType
impl Send for HashType
impl Sync for HashType
impl Unpin for HashType
impl UnwindSafe for HashType
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