pub struct EncryptedArtifact<'a> {
pub total_plaintext_bytes: u64,
pub aggregate_commitment: [u8; 32],
pub chunks: Vec<EncryptedChunk<'a>>,
}Expand description
Encrypted records that are either freshly owned or borrowed from a package.
Fields§
§total_plaintext_bytes: u64§aggregate_commitment: [u8; 32]§chunks: Vec<EncryptedChunk<'a>>Implementations§
Source§impl EncryptedArtifact<'_>
impl EncryptedArtifact<'_>
Sourcepub fn into_records(self) -> Vec<Vec<u8>>
pub fn into_records(self) -> Vec<Vec<u8>>
Moves the records out without copying owned bytes.
Trait Implementations§
Source§impl<'a> Clone for EncryptedArtifact<'a>
impl<'a> Clone for EncryptedArtifact<'a>
Source§impl<'a> Debug for EncryptedArtifact<'a>
impl<'a> Debug for EncryptedArtifact<'a>
impl<'a> Eq for EncryptedArtifact<'a>
Source§impl<'a> PartialEq for EncryptedArtifact<'a>
impl<'a> PartialEq for EncryptedArtifact<'a>
impl<'a> StructuralPartialEq for EncryptedArtifact<'a>
Auto Trait Implementations§
impl<'a> Freeze for EncryptedArtifact<'a>
impl<'a> RefUnwindSafe for EncryptedArtifact<'a>
impl<'a> Send for EncryptedArtifact<'a>
impl<'a> Sync for EncryptedArtifact<'a>
impl<'a> Unpin for EncryptedArtifact<'a>
impl<'a> UnsafeUnpin for EncryptedArtifact<'a>
impl<'a> UnwindSafe for EncryptedArtifact<'a>
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