Enum redgold_schema::structs::PoWProofType
source · #[repr(i32)]pub enum PoWProofType {
Sha3256Nonce = 0,
}Variants§
Sha3256Nonce = 0
The standard sha3-256 hash of the transaction
Implementations§
Trait Implementations§
source§impl Clone for PoWProofType
impl Clone for PoWProofType
source§fn clone(&self) -> PoWProofType
fn clone(&self) -> PoWProofType
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 PoWProofType
impl Debug for PoWProofType
source§impl Default for PoWProofType
impl Default for PoWProofType
source§fn default() -> PoWProofType
fn default() -> PoWProofType
Returns the “default value” for a type. Read more
source§impl From<PoWProofType> for i32
impl From<PoWProofType> for i32
source§fn from(value: PoWProofType) -> i32
fn from(value: PoWProofType) -> i32
Converts to this type from the input type.
source§impl Hash for PoWProofType
impl Hash for PoWProofType
source§impl Ord for PoWProofType
impl Ord for PoWProofType
source§fn cmp(&self, other: &PoWProofType) -> Ordering
fn cmp(&self, other: &PoWProofType) -> 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 PoWProofType
impl PartialEq for PoWProofType
source§fn eq(&self, other: &PoWProofType) -> bool
fn eq(&self, other: &PoWProofType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for PoWProofType
impl PartialOrd for PoWProofType
source§fn partial_cmp(&self, other: &PoWProofType) -> Option<Ordering>
fn partial_cmp(&self, other: &PoWProofType) -> 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 PoWProofType
impl Eq for PoWProofType
impl StructuralEq for PoWProofType
impl StructuralPartialEq for PoWProofType
Auto Trait Implementations§
impl RefUnwindSafe for PoWProofType
impl Send for PoWProofType
impl Sync for PoWProofType
impl Unpin for PoWProofType
impl UnwindSafe for PoWProofType
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