pub struct PoolMetadataHash(_);
Implementations§
source§impl PoolMetadataHash
impl PoolMetadataHash
pub fn from_bytes(bytes: Vec<u8>) -> Result<PoolMetadataHash, DeserializeError>
source§impl PoolMetadataHash
impl PoolMetadataHash
pub const BYTE_COUNT: usize = 32usize
Trait Implementations§
source§impl Clone for PoolMetadataHash
impl Clone for PoolMetadataHash
source§fn clone(&self) -> PoolMetadataHash
fn clone(&self) -> PoolMetadataHash
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 PoolMetadataHash
impl Debug for PoolMetadataHash
source§impl<'de> Deserialize<'de> for PoolMetadataHash
impl<'de> Deserialize<'de> for PoolMetadataHash
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 Deserialize for PoolMetadataHash
impl Deserialize for PoolMetadataHash
fn deserialize<R: BufRead>(
raw: &mut Deserializer<R>
) -> Result<Self, DeserializeError>
source§impl Display for PoolMetadataHash
impl Display for PoolMetadataHash
source§impl Hash for PoolMetadataHash
impl Hash for PoolMetadataHash
source§impl JsonSchema for PoolMetadataHash
impl JsonSchema for PoolMetadataHash
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 PoolMetadataHash
impl Ord for PoolMetadataHash
source§fn cmp(&self, other: &PoolMetadataHash) -> Ordering
fn cmp(&self, other: &PoolMetadataHash) -> 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<PoolMetadataHash> for PoolMetadataHash
impl PartialEq<PoolMetadataHash> for PoolMetadataHash
source§fn eq(&self, other: &PoolMetadataHash) -> bool
fn eq(&self, other: &PoolMetadataHash) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PoolMetadataHash> for PoolMetadataHash
impl PartialOrd<PoolMetadataHash> for PoolMetadataHash
source§fn partial_cmp(&self, other: &PoolMetadataHash) -> Option<Ordering>
fn partial_cmp(&self, other: &PoolMetadataHash) -> 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 more