pub struct Sha256Digest(/* private fields */);Expand description
sha256: and 64 lowercase hex digits: the one form every hash a provenance entry records
takes, and nothing else — built by hashing, or read and refused when it is not one.
Implementations§
Trait Implementations§
Source§impl Clone for Sha256Digest
impl Clone for Sha256Digest
Source§impl Debug for Sha256Digest
impl Debug for Sha256Digest
Source§impl<'de> Deserialize<'de> for Sha256Digest
impl<'de> Deserialize<'de> for Sha256Digest
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 Display for Sha256Digest
impl Display for Sha256Digest
impl Eq for Sha256Digest
Source§impl From<Sha256Digest> for String
impl From<Sha256Digest> for String
Source§fn from(digest: Sha256Digest) -> Self
fn from(digest: Sha256Digest) -> Self
Converts to this type from the input type.
Source§impl Hash for Sha256Digest
impl Hash for Sha256Digest
Source§impl JsonSchema for Sha256Digest
Written by hand rather than derived, so the schema states the form a digest must take and
both SDKs’ models refuse any other — a derive would describe the String it is read from.
impl JsonSchema for Sha256Digest
Written by hand rather than derived, so the schema states the form a digest must take and
both SDKs’ models refuse any other — a derive would describe the String it is read from.
Source§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for Sha256Digest
impl PartialEq for Sha256Digest
Source§impl Serialize for Sha256Digest
impl Serialize for Sha256Digest
impl StructuralPartialEq for Sha256Digest
Auto Trait Implementations§
impl Freeze for Sha256Digest
impl RefUnwindSafe for Sha256Digest
impl Send for Sha256Digest
impl Sync for Sha256Digest
impl Unpin for Sha256Digest
impl UnsafeUnpin for Sha256Digest
impl UnwindSafe for Sha256Digest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.