pub struct SettingsEncryption {
pub passphrase: Option<String>,
}Expand description
Settings for message encryption.
Fields§
§passphrase: Option<String>Trait Implementations§
Source§impl Clone for SettingsEncryption
impl Clone for SettingsEncryption
Source§fn clone(&self) -> SettingsEncryption
fn clone(&self) -> SettingsEncryption
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 SettingsEncryption
impl Debug for SettingsEncryption
Source§impl<'de> Deserialize<'de> for SettingsEncryption
impl<'de> Deserialize<'de> for SettingsEncryption
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 Freeze for SettingsEncryption
impl RefUnwindSafe for SettingsEncryption
impl Send for SettingsEncryption
impl Sync for SettingsEncryption
impl Unpin for SettingsEncryption
impl UnsafeUnpin for SettingsEncryption
impl UnwindSafe for SettingsEncryption
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