pub struct EncryptionConfig {
pub algorithm: EncryptionAlgorithm,
pub key: Option<String>,
pub server_side: bool,
pub parameters: HashMap<String, String>,
}Expand description
Encryption configuration
Fields§
§algorithm: EncryptionAlgorithmEncryption algorithm
key: Option<String>Encryption key (base64 encoded)
server_side: boolUse server-side encryption for cloud storage
parameters: HashMap<String, String>Additional encryption parameters
Trait Implementations§
Source§impl Clone for EncryptionConfig
impl Clone for EncryptionConfig
Source§impl Debug for EncryptionConfig
impl Debug for EncryptionConfig
Source§impl<'de> Deserialize<'de> for EncryptionConfig
impl<'de> Deserialize<'de> for EncryptionConfig
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 EncryptionConfig
impl RefUnwindSafe for EncryptionConfig
impl Send for EncryptionConfig
impl Sync for EncryptionConfig
impl Unpin for EncryptionConfig
impl UnsafeUnpin for EncryptionConfig
impl UnwindSafe for EncryptionConfig
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