pub struct ArtifactMetadata {
pub artifact_type: MaybeUnknown<ArtifactType>,
pub component_moniker: Option<String>,
}
Expand description
Metadata associated with an artifact.
Fields§
§artifact_type: MaybeUnknown<ArtifactType>
The type of the artifact.
component_moniker: Option<String>
Moniker of the component which produced the artifact, if applicable.
Trait Implementations§
Source§impl Clone for ArtifactMetadata
impl Clone for ArtifactMetadata
Source§fn clone(&self) -> ArtifactMetadata
fn clone(&self) -> ArtifactMetadata
Returns a copy 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 ArtifactMetadata
impl Debug for ArtifactMetadata
Source§impl<'de> Deserialize<'de> for ArtifactMetadata
impl<'de> Deserialize<'de> for ArtifactMetadata
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
Source§impl From<ArtifactType> for ArtifactMetadata
impl From<ArtifactType> for ArtifactMetadata
Source§fn from(other: ArtifactType) -> Self
fn from(other: ArtifactType) -> Self
Converts to this type from the input type.
Source§impl Hash for ArtifactMetadata
impl Hash for ArtifactMetadata
Source§impl PartialEq for ArtifactMetadata
impl PartialEq for ArtifactMetadata
Source§impl Serialize for ArtifactMetadata
impl Serialize for ArtifactMetadata
impl Eq for ArtifactMetadata
impl StructuralPartialEq for ArtifactMetadata
Auto Trait Implementations§
impl Freeze for ArtifactMetadata
impl RefUnwindSafe for ArtifactMetadata
impl Send for ArtifactMetadata
impl Sync for ArtifactMetadata
impl Unpin for ArtifactMetadata
impl UnwindSafe for ArtifactMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)