pub struct Ciphertext(/* private fields */);Expand description
An encrypted message.
Implementations§
Trait Implementations§
Source§impl Clone for Ciphertext
impl Clone for Ciphertext
Source§fn clone(&self) -> Ciphertext
fn clone(&self) -> Ciphertext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Ciphertext
impl Debug for Ciphertext
Source§impl<'de> Deserialize<'de> for Ciphertext
impl<'de> Deserialize<'de> for Ciphertext
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
impl Eq for Ciphertext
Source§impl Hash for Ciphertext
impl Hash for Ciphertext
Source§impl Ord for Ciphertext
impl Ord for Ciphertext
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 PartialEq for Ciphertext
impl PartialEq for Ciphertext
Source§fn eq(&self, other: &Ciphertext) -> bool
fn eq(&self, other: &Ciphertext) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Ciphertext
impl PartialOrd for Ciphertext
Source§impl Serialize for Ciphertext
impl Serialize for Ciphertext
impl StructuralPartialEq for Ciphertext
Auto Trait Implementations§
impl Freeze for Ciphertext
impl RefUnwindSafe for Ciphertext
impl Send for Ciphertext
impl Sync for Ciphertext
impl Unpin for Ciphertext
impl UnsafeUnpin for Ciphertext
impl UnwindSafe for Ciphertext
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