pub struct InterimTranscriptHash(pub Vec<u8>);Available on 32-bit or 64-bit only.
Expand description
This is a wrapper type, because we can’t implement the storage traits on Vec<u8>.
Tuple Fields§
§0: Vec<u8>Trait Implementations§
Source§impl Debug for InterimTranscriptHash
impl Debug for InterimTranscriptHash
Source§impl<'de> Deserialize<'de> for InterimTranscriptHash
impl<'de> Deserialize<'de> for InterimTranscriptHash
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 Serialize for InterimTranscriptHash
impl Serialize for InterimTranscriptHash
impl Entity<CURRENT_VERSION> for InterimTranscriptHash
impl InterimTranscriptHash<CURRENT_VERSION> for InterimTranscriptHash
Auto Trait Implementations§
impl Freeze for InterimTranscriptHash
impl RefUnwindSafe for InterimTranscriptHash
impl Send for InterimTranscriptHash
impl Sync for InterimTranscriptHash
impl Unpin for InterimTranscriptHash
impl UnwindSafe for InterimTranscriptHash
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<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more