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
fn read_from_in_protocol<T: TInputProtocol>( i_prot: &mut T, ) -> Result<FileCryptoMetaData>
fn write_to_out_protocol<T: TOutputProtocol>( &self, o_prot: &mut T, ) -> Result<()>
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)