pub struct EncryptionBlock {
pub algorithm: EncryptionAlgorithm,
pub apply_to: Vec<BlockTag>,
}Expand description
Encryption directive block.
Fields§
§algorithm: EncryptionAlgorithmThe AEAD algorithm to use.
apply_to: Vec<BlockTag>Block types to encrypt at rest. Empty = encrypt nothing.
Trait Implementations§
Source§impl Clone for EncryptionBlock
impl Clone for EncryptionBlock
Source§fn clone(&self) -> EncryptionBlock
fn clone(&self) -> EncryptionBlock
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 EncryptionBlock
impl Debug for EncryptionBlock
Source§impl<'de> Deserialize<'de> for EncryptionBlock
impl<'de> Deserialize<'de> for EncryptionBlock
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
Source§impl PartialEq for EncryptionBlock
impl PartialEq for EncryptionBlock
Source§impl Serialize for EncryptionBlock
impl Serialize for EncryptionBlock
impl StructuralPartialEq for EncryptionBlock
Auto Trait Implementations§
impl Freeze for EncryptionBlock
impl RefUnwindSafe for EncryptionBlock
impl Send for EncryptionBlock
impl Sync for EncryptionBlock
impl Unpin for EncryptionBlock
impl UnsafeUnpin for EncryptionBlock
impl UnwindSafe for EncryptionBlock
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