pub struct ConvergentEncryptionInfo {
pub key: [u8; 32],
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: [u8; 32]The 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<ConvergentEncryptionInfo, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ConvergentEncryptionInfo, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
§impl<T> Classify for T
impl<T> Classify for T
type Classified = T
fn classify(self) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<T> Declassify for T
impl<T> Declassify for T
type Declassified = T
fn declassify(self) -> T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more