[]Struct nimiq_primitives::account::AnyHash

#[repr(C)]
pub struct AnyHash(_);

Methods

impl AnyHash

pub const SIZE: usize

pub fn len() -> usize

pub fn as_bytes(&self) -> &[u8]

impl AnyHash

pub fn to_hex(&self) -> String

Trait Implementations

impl<'a> From<&'a [u8]> for AnyHash

impl From<[u8; 32]> for AnyHash

impl From<AnyHash> for [u8; 32]

impl From<&'static str> for AnyHash

impl Clone for AnyHash

impl Default for AnyHash

impl Eq for AnyHash

impl Ord for AnyHash

impl PartialEq<AnyHash> for AnyHash

impl PartialOrd<AnyHash> for AnyHash

impl Display for AnyHash

impl Debug for AnyHash

impl FromStr for AnyHash

type Err = FromHexError

The associated error which can be returned from parsing.

impl Hash for AnyHash

impl StructuralPartialEq for AnyHash

impl StructuralEq for AnyHash

impl Deserialize for AnyHash

impl Serialize for AnyHash

Auto Trait Implementations

impl Send for AnyHash

impl Sync for AnyHash

impl Unpin for AnyHash

impl UnwindSafe for AnyHash

impl RefUnwindSafe for AnyHash

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T