pub struct ArtifactSchema {
pub name: String,
pub mime_type: String,
pub description: String,
}Expand description
An artifact schema describing expected artifact structure.
Fields§
§name: StringArtifact name/key.
mime_type: StringMIME type.
description: StringDescription of what this artifact contains.
Trait Implementations§
Source§impl Clone for ArtifactSchema
impl Clone for ArtifactSchema
Source§fn clone(&self) -> ArtifactSchema
fn clone(&self) -> ArtifactSchema
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 ArtifactSchema
impl Debug for ArtifactSchema
Source§impl<'de> Deserialize<'de> for ArtifactSchema
impl<'de> Deserialize<'de> for ArtifactSchema
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ArtifactSchema
impl RefUnwindSafe for ArtifactSchema
impl Send for ArtifactSchema
impl Sync for ArtifactSchema
impl Unpin for ArtifactSchema
impl UnwindSafe for ArtifactSchema
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