pub struct Artifact {
pub metadata: ArtifactMetadata,
pub data: Vec<u8>,
}Expand description
A versioned artifact with data and metadata.
Fields§
§metadata: ArtifactMetadataArtifact metadata.
data: Vec<u8>The artifact data.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Artifact
impl RefUnwindSafe for Artifact
impl Send for Artifact
impl Sync for Artifact
impl Unpin for Artifact
impl UnwindSafe for Artifact
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