pub struct Encrypted<Data> { /* private fields */ }
Expand description
represents the encrypted form of the data, can be serialized and deserialized
Trait Implementations§
Source§impl<'de, Data> Deserialize<'de> for Encrypted<Data>
impl<'de, Data> Deserialize<'de> for Encrypted<Data>
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
Auto Trait Implementations§
impl<Data> Freeze for Encrypted<Data>
impl<Data> RefUnwindSafe for Encrypted<Data>where
Data: RefUnwindSafe,
impl<Data> Send for Encrypted<Data>where
Data: Send,
impl<Data> Sync for Encrypted<Data>where
Data: Sync,
impl<Data> Unpin for Encrypted<Data>where
Data: Unpin,
impl<Data> UnwindSafe for Encrypted<Data>where
Data: UnwindSafe,
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