pub struct PlaintextHash {
pub direction: Direction,
pub idx: Idx,
pub hash: TypedHash,
}
Expand description
Hash of plaintext in the transcript.
Fields§
§direction: Direction
Direction of the plaintext.
idx: Idx
Index of plaintext.
hash: TypedHash
The hash of the data.
Trait Implementations§
Source§impl Clone for PlaintextHash
impl Clone for PlaintextHash
Source§fn clone(&self) -> PlaintextHash
fn clone(&self) -> PlaintextHash
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PlaintextHash
impl Debug for PlaintextHash
Source§impl<'de> Deserialize<'de> for PlaintextHash
impl<'de> Deserialize<'de> for PlaintextHash
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 Hash for PlaintextHash
impl Hash for PlaintextHash
Source§impl PartialEq for PlaintextHash
impl PartialEq for PlaintextHash
Source§impl Serialize for PlaintextHash
impl Serialize for PlaintextHash
impl Eq for PlaintextHash
impl StructuralPartialEq for PlaintextHash
Auto Trait Implementations§
impl Freeze for PlaintextHash
impl RefUnwindSafe for PlaintextHash
impl Send for PlaintextHash
impl Sync for PlaintextHash
impl Unpin for PlaintextHash
impl UnwindSafe for PlaintextHash
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)