pub struct PackArtifactMetadata {
pub artifact_version: u8,
pub pack_schema: u8,
pub name: String,
pub version: String,
pub description: String,
pub capabilities: Vec<PackArtifactCapability>,
pub targets: Vec<PackArtifactTarget>,
pub files: Vec<PackArtifactFile>,
}Expand description
Canonical metadata stored at the beginning of a pack artifact.
Fields§
§artifact_version: u8§pack_schema: u8§name: String§version: String§description: String§capabilities: Vec<PackArtifactCapability>§targets: Vec<PackArtifactTarget>§files: Vec<PackArtifactFile>Trait Implementations§
Source§impl Clone for PackArtifactMetadata
impl Clone for PackArtifactMetadata
Source§fn clone(&self) -> PackArtifactMetadata
fn clone(&self) -> PackArtifactMetadata
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 PackArtifactMetadata
impl Debug for PackArtifactMetadata
Source§impl<'de> Deserialize<'de> for PackArtifactMetadata
impl<'de> Deserialize<'de> for PackArtifactMetadata
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 PackArtifactMetadata
impl RefUnwindSafe for PackArtifactMetadata
impl Send for PackArtifactMetadata
impl Sync for PackArtifactMetadata
impl Unpin for PackArtifactMetadata
impl UnsafeUnpin for PackArtifactMetadata
impl UnwindSafe for PackArtifactMetadata
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