Struct parquet::format::FileCryptoMetaData
source · pub struct FileCryptoMetaData {
pub encryption_algorithm: EncryptionAlgorithm,
pub key_metadata: Option<Vec<u8>>,
}
Expand description
Crypto metadata for files with encrypted footer *
Fields§
§encryption_algorithm: EncryptionAlgorithm
Encryption algorithm. This field is only used for files with encrypted footer. Files with plaintext footer store algorithm id inside footer (FileMetaData structure).
key_metadata: Option<Vec<u8>>
Retrieval metadata of key used for encryption of footer, and (possibly) columns *
Implementations§
source§impl FileCryptoMetaData
impl FileCryptoMetaData
pub fn new<F2>( encryption_algorithm: EncryptionAlgorithm, key_metadata: F2, ) -> FileCryptoMetaData
Trait Implementations§
source§impl Clone for FileCryptoMetaData
impl Clone for FileCryptoMetaData
source§fn clone(&self) -> FileCryptoMetaData
fn clone(&self) -> FileCryptoMetaData
Returns a copy 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 Debug for FileCryptoMetaData
impl Debug for FileCryptoMetaData
source§impl Hash for FileCryptoMetaData
impl Hash for FileCryptoMetaData
source§impl Ord for FileCryptoMetaData
impl Ord for FileCryptoMetaData
source§fn cmp(&self, other: &FileCryptoMetaData) -> Ordering
fn cmp(&self, other: &FileCryptoMetaData) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for FileCryptoMetaData
impl PartialEq for FileCryptoMetaData
source§impl PartialOrd for FileCryptoMetaData
impl PartialOrd for FileCryptoMetaData
source§impl TSerializable for FileCryptoMetaData
impl TSerializable for FileCryptoMetaData
source§fn read_from_in_protocol<T: TInputProtocol>(
i_prot: &mut T,
) -> Result<FileCryptoMetaData>
fn read_from_in_protocol<T: TInputProtocol>( i_prot: &mut T, ) -> Result<FileCryptoMetaData>
Reads the struct from the input Thrift protocol
source§fn write_to_out_protocol<T: TOutputProtocol>(
&self,
o_prot: &mut T,
) -> Result<()>
fn write_to_out_protocol<T: TOutputProtocol>( &self, o_prot: &mut T, ) -> Result<()>
Writes the struct to the output Thrift protocol
impl Eq for FileCryptoMetaData
impl StructuralPartialEq for FileCryptoMetaData
Auto Trait Implementations§
impl Freeze for FileCryptoMetaData
impl RefUnwindSafe for FileCryptoMetaData
impl Send for FileCryptoMetaData
impl Sync for FileCryptoMetaData
impl Unpin for FileCryptoMetaData
impl UnwindSafe for FileCryptoMetaData
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)