pub struct StoredArtifact {
pub object_id: ObjectId,
pub original_filename: String,
pub media_type: String,
pub role: String,
pub byte_length: u64,
pub sha256: [u8; 32],
}Expand description
One object referenced by a stored provenance payload.
Fields§
§object_id: ObjectId§original_filename: String§media_type: String§role: String§byte_length: u64§sha256: [u8; 32]Trait Implementations§
Source§impl Clone for StoredArtifact
impl Clone for StoredArtifact
Source§fn clone(&self) -> StoredArtifact
fn clone(&self) -> StoredArtifact
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 StoredArtifact
impl Debug for StoredArtifact
impl Eq for StoredArtifact
Source§impl PartialEq for StoredArtifact
impl PartialEq for StoredArtifact
impl StructuralPartialEq for StoredArtifact
Auto Trait Implementations§
impl Freeze for StoredArtifact
impl RefUnwindSafe for StoredArtifact
impl Send for StoredArtifact
impl Sync for StoredArtifact
impl Unpin for StoredArtifact
impl UnsafeUnpin for StoredArtifact
impl UnwindSafe for StoredArtifact
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