pub struct EventHash(/* private fields */);Expand description
The SHA-256 hash of an event’s canonical encoding – its identity. Written as sha256: and 64 lower-case
hexadecimal digits, like every hash in the protocol.
Trait Implementations§
impl Copy for EventHash
Source§impl<'de> Deserialize<'de> for EventHash
impl<'de> Deserialize<'de> for EventHash
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EventHash
Source§impl Ord for EventHash
impl Ord for EventHash
1.21.0 (const: unstable) · 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 PartialOrd for EventHash
impl PartialOrd for EventHash
impl StructuralPartialEq for EventHash
Auto Trait Implementations§
impl Freeze for EventHash
impl RefUnwindSafe for EventHash
impl Send for EventHash
impl Sync for EventHash
impl Unpin for EventHash
impl UnsafeUnpin for EventHash
impl UnwindSafe for EventHash
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