pub struct ArtifactDescriptor {
pub format: ArtifactFormat,
pub subject: ArtifactSubject,
pub producer: String,
pub handle: String,
}Expand description
Descriptor for a published artifact attached to a node.
Artifacts are the unified mechanism for both private reuse and cross-plugin composition. A comparator or transformer publishes zero or more artifacts; downstream plugins consume them by format.
Fields§
§format: ArtifactFormat§subject: ArtifactSubject§producer: String§handle: StringOpaque handle managed by the SDK’s DataAccess implementation. Plugins should not create or interpret this value directly.
Trait Implementations§
Source§impl Clone for ArtifactDescriptor
impl Clone for ArtifactDescriptor
Source§fn clone(&self) -> ArtifactDescriptor
fn clone(&self) -> ArtifactDescriptor
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 ArtifactDescriptor
impl Debug for ArtifactDescriptor
Source§impl<'de> Deserialize<'de> for ArtifactDescriptor
impl<'de> Deserialize<'de> for ArtifactDescriptor
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 ArtifactDescriptor
impl RefUnwindSafe for ArtifactDescriptor
impl Send for ArtifactDescriptor
impl Sync for ArtifactDescriptor
impl Unpin for ArtifactDescriptor
impl UnsafeUnpin for ArtifactDescriptor
impl UnwindSafe for ArtifactDescriptor
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