pub struct EncryptionParams {
pub scheme: Option<String>,
pub plaintext_type: Option<String>,
pub fallback_label: Option<String>,
}Expand description
Encryption parameters for encrypted fields.
Fields§
§scheme: Option<String>Encryption scheme identifier.
plaintext_type: Option<String>Type of the plaintext content.
fallback_label: Option<String>Trait Implementations§
Source§impl Clone for EncryptionParams
impl Clone for EncryptionParams
Source§fn clone(&self) -> EncryptionParams
fn clone(&self) -> EncryptionParams
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 EncryptionParams
impl Debug for EncryptionParams
Source§impl<'de> Deserialize<'de> for EncryptionParams
impl<'de> Deserialize<'de> for EncryptionParams
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 EncryptionParams
impl RefUnwindSafe for EncryptionParams
impl Send for EncryptionParams
impl Sync for EncryptionParams
impl Unpin for EncryptionParams
impl UnsafeUnpin for EncryptionParams
impl UnwindSafe for EncryptionParams
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