pub struct TextSalt(/* private fields */);Expand description
The salt of a TextCommitment: 32 random bytes kept beside the
text, and deleted with it
Implementations§
Trait Implementations§
impl Copy for TextSalt
Source§impl<'de> Deserialize<'de> for TextSalt
impl<'de> Deserialize<'de> for TextSalt
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TextSalt
impl StructuralPartialEq for TextSalt
Auto Trait Implementations§
impl Freeze for TextSalt
impl RefUnwindSafe for TextSalt
impl Send for TextSalt
impl Sync for TextSalt
impl Unpin for TextSalt
impl UnsafeUnpin for TextSalt
impl UnwindSafe for TextSalt
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