Struct wasmer_config::hash::Sha256Hash
source · pub struct Sha256Hash(pub [u8; 32]);
Expand description
Sha256 hash, represented as bytes.
Tuple Fields§
§0: [u8; 32]
Implementations§
Trait Implementations§
source§impl Clone for Sha256Hash
impl Clone for Sha256Hash
source§fn clone(&self) -> Sha256Hash
fn clone(&self) -> Sha256Hash
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 Sha256Hash
impl Debug for Sha256Hash
source§impl Display for Sha256Hash
impl Display for Sha256Hash
source§impl From<Sha256Hash> for PackageHash
impl From<Sha256Hash> for PackageHash
source§fn from(value: Sha256Hash) -> Self
fn from(value: Sha256Hash) -> Self
Converts to this type from the input type.
source§impl FromStr for Sha256Hash
impl FromStr for Sha256Hash
source§impl Hash for Sha256Hash
impl Hash for Sha256Hash
source§impl JsonSchema for Sha256Hash
impl JsonSchema for Sha256Hash
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl Ord for Sha256Hash
impl Ord for Sha256Hash
source§fn cmp(&self, other: &Sha256Hash) -> Ordering
fn cmp(&self, other: &Sha256Hash) -> 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 Sha256Hash
impl PartialEq for Sha256Hash
source§impl PartialOrd for Sha256Hash
impl PartialOrd for Sha256Hash
impl Eq for Sha256Hash
impl StructuralPartialEq for Sha256Hash
Auto Trait Implementations§
impl Freeze for Sha256Hash
impl RefUnwindSafe for Sha256Hash
impl Send for Sha256Hash
impl Sync for Sha256Hash
impl Unpin for Sha256Hash
impl UnwindSafe for Sha256Hash
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.