pub struct NewProvenanceArtifact {
pub original_filename: String,
pub media_type: String,
pub role: String,
pub data: Vec<u8>,
}Expand description
One immutable byte artifact attached to new provenance.
Fields§
§original_filename: StringSafe original basename to preserve in the stored filename.
media_type: StringPrintable media type containing 1–200 characters.
role: StringCaller-defined semantic role containing 1–100 characters.
data: Vec<u8>Complete artifact bytes.
Trait Implementations§
Source§impl Clone for NewProvenanceArtifact
impl Clone for NewProvenanceArtifact
Source§fn clone(&self) -> NewProvenanceArtifact
fn clone(&self) -> NewProvenanceArtifact
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 moreAuto Trait Implementations§
impl Freeze for NewProvenanceArtifact
impl RefUnwindSafe for NewProvenanceArtifact
impl Send for NewProvenanceArtifact
impl Sync for NewProvenanceArtifact
impl Unpin for NewProvenanceArtifact
impl UnsafeUnpin for NewProvenanceArtifact
impl UnwindSafe for NewProvenanceArtifact
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