pub struct ConfigFileEncryptionProperties {
pub encrypt_footer: bool,
pub footer_key_as_hex: String,
pub footer_key_metadata_as_hex: String,
pub column_encryption_properties: HashMap<String, ColumnEncryptionProperties>,
pub aad_prefix_as_hex: String,
pub store_aad_prefix: bool,
}Fields§
Should the parquet footer be encrypted default is true
Key to use for the parquet footer encoded in hex format
Metadata information for footer key
column_encryption_properties: HashMap<String, ColumnEncryptionProperties>HashMap of column names –> (key in hex format, metadata)
aad_prefix_as_hex: StringAAD prefix string uniquely identifies the file and prevents file swapping
store_aad_prefix: boolIf true, store the AAD prefix in the file default is false
Trait Implementations§
Source§impl Clone for ConfigFileEncryptionProperties
impl Clone for ConfigFileEncryptionProperties
Source§fn clone(&self) -> ConfigFileEncryptionProperties
fn clone(&self) -> ConfigFileEncryptionProperties
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<&FileEncryptionProperties> for ConfigFileEncryptionProperties
Available on crate feature parquet_encryption only.
impl From<&FileEncryptionProperties> for ConfigFileEncryptionProperties
Available on crate feature
parquet_encryption only.Source§fn from(f: &FileEncryptionProperties) -> Self
fn from(f: &FileEncryptionProperties) -> Self
Converts to this type from the input type.
Source§impl From<ConfigFileEncryptionProperties> for FileEncryptionProperties
Available on crate feature parquet_encryption only.
impl From<ConfigFileEncryptionProperties> for FileEncryptionProperties
Available on crate feature
parquet_encryption only.Source§fn from(val: ConfigFileEncryptionProperties) -> Self
fn from(val: ConfigFileEncryptionProperties) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ConfigFileEncryptionProperties
impl PartialEq for ConfigFileEncryptionProperties
Source§fn eq(&self, other: &ConfigFileEncryptionProperties) -> bool
fn eq(&self, other: &ConfigFileEncryptionProperties) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigFileEncryptionProperties
Auto Trait Implementations§
impl Freeze for ConfigFileEncryptionProperties
impl RefUnwindSafe for ConfigFileEncryptionProperties
impl Send for ConfigFileEncryptionProperties
impl Sync for ConfigFileEncryptionProperties
impl Unpin for ConfigFileEncryptionProperties
impl UnwindSafe for ConfigFileEncryptionProperties
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more