[][src]Struct parquet_format::FileCryptoMetaData

pub struct FileCryptoMetaData {
    pub encryption_algorithm: EncryptionAlgorithm,
    pub key_metadata: Option<Vec<u8>>,
}

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

impl FileCryptoMetaData[src]

pub fn new<F2>(
    encryption_algorithm: EncryptionAlgorithm,
    key_metadata: F2
) -> FileCryptoMetaData where
    F2: Into<Option<Vec<u8>>>, 
[src]

pub fn read_from_in_protocol(
    i_prot: &mut dyn TInputProtocol
) -> Result<FileCryptoMetaData>
[src]

pub fn write_to_out_protocol(
    &self,
    o_prot: &mut dyn TOutputProtocol
) -> Result<()>
[src]

Trait Implementations

impl Clone for FileCryptoMetaData[src]

impl Debug for FileCryptoMetaData[src]

impl Eq for FileCryptoMetaData[src]

impl Hash for FileCryptoMetaData[src]

impl Ord for FileCryptoMetaData[src]

impl PartialEq<FileCryptoMetaData> for FileCryptoMetaData[src]

impl PartialOrd<FileCryptoMetaData> for FileCryptoMetaData[src]

impl StructuralEq for FileCryptoMetaData[src]

impl StructuralPartialEq for FileCryptoMetaData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.