pub struct ArtifactVersion {
pub version: f64,
pub canonical_uri: Option<String>,
pub custom_metadata: Option<Value>,
pub mime_type: Option<String>,
}Expand description
Metadata for a file artifact version.
Fields§
§version: f64The version number.
canonical_uri: Option<String>The canonical URI of the artifact.
custom_metadata: Option<Value>Custom metadata associated with the artifact.
mime_type: Option<String>The MIME type of the artifact.
Trait Implementations§
Source§impl Clone for ArtifactVersion
impl Clone for ArtifactVersion
Source§fn clone(&self) -> ArtifactVersion
fn clone(&self) -> ArtifactVersion
Returns a duplicate of the value. Read more
1.0.0 · 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 ArtifactVersion
impl Debug for ArtifactVersion
Source§impl Default for ArtifactVersion
impl Default for ArtifactVersion
Source§fn default() -> ArtifactVersion
fn default() -> ArtifactVersion
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ArtifactVersion
impl RefUnwindSafe for ArtifactVersion
impl Send for ArtifactVersion
impl Sync for ArtifactVersion
impl Unpin for ArtifactVersion
impl UnwindSafe for ArtifactVersion
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