pub struct ProtectedArtifactInfo {
pub version: u8,
pub preset: FusedPreset,
pub preset_label: String,
pub compression_algorithm: CompressionAlgorithm,
pub encryption_algorithm: Algorithm,
pub original_size: usize,
pub compressed_size: usize,
pub encrypted_size: usize,
pub protected_size: usize,
pub shell_chunk_size: u32,
pub shell_chunk_count: usize,
pub shell_nonce: [u8; 12],
}Expand description
Keyless metadata for a Voided v3 monolith protected artifact.
Fields§
§version: u8Artifact version.
preset: FusedPresetFused preset id.
preset_label: StringStable preset label.
compression_algorithm: CompressionAlgorithmCompression algorithm stored in the artifact.
encryption_algorithm: AlgorithmEncryption algorithm used for the sealed payload.
original_size: usizeOriginal plaintext size.
compressed_size: usizeSize after compression and before encryption.
encrypted_size: usizeSize of the encrypted bytes before shell transformation.
protected_size: usizeTotal artifact bytes.
shell_chunk_size: u32Effective shell chunk size.
shell_chunk_count: usizeShell chunk count.
shell_nonce: [u8; 12]Shell nonce.
Trait Implementations§
Source§impl Clone for ProtectedArtifactInfo
impl Clone for ProtectedArtifactInfo
Source§fn clone(&self) -> ProtectedArtifactInfo
fn clone(&self) -> ProtectedArtifactInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProtectedArtifactInfo
impl Debug for ProtectedArtifactInfo
Source§impl<'de> Deserialize<'de> for ProtectedArtifactInfo
impl<'de> Deserialize<'de> for ProtectedArtifactInfo
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
Auto Trait Implementations§
impl Freeze for ProtectedArtifactInfo
impl RefUnwindSafe for ProtectedArtifactInfo
impl Send for ProtectedArtifactInfo
impl Sync for ProtectedArtifactInfo
impl Unpin for ProtectedArtifactInfo
impl UnsafeUnpin for ProtectedArtifactInfo
impl UnwindSafe for ProtectedArtifactInfo
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