pub struct ConvergentEncryptionInfo {
pub key: ConvergentEncryptionKey,
pub was_compressed: bool,
pub source_size: usize,
}Expand description
Metadata about the encryption operation
Contains information needed for decryption, including whether compression was applied and the original file size.
Fields§
§key: ConvergentEncryptionKeyThe encryption key derived from the content
was_compressed: boolWhether Brotli compression was applied
source_size: usizeOriginal size of the content before encryption
Trait Implementations§
Source§impl Clone for ConvergentEncryptionInfo
impl Clone for ConvergentEncryptionInfo
Source§fn clone(&self) -> ConvergentEncryptionInfo
fn clone(&self) -> ConvergentEncryptionInfo
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 Debug for ConvergentEncryptionInfo
impl Debug for ConvergentEncryptionInfo
Source§impl<'de> Deserialize<'de> for ConvergentEncryptionInfo
impl<'de> Deserialize<'de> for ConvergentEncryptionInfo
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
Source§impl PartialEq for ConvergentEncryptionInfo
impl PartialEq for ConvergentEncryptionInfo
Source§impl Serialize for ConvergentEncryptionInfo
impl Serialize for ConvergentEncryptionInfo
impl Eq for ConvergentEncryptionInfo
impl StructuralPartialEq for ConvergentEncryptionInfo
Auto Trait Implementations§
impl Freeze for ConvergentEncryptionInfo
impl RefUnwindSafe for ConvergentEncryptionInfo
impl Send for ConvergentEncryptionInfo
impl Sync for ConvergentEncryptionInfo
impl Unpin for ConvergentEncryptionInfo
impl UnwindSafe for ConvergentEncryptionInfo
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