pub struct ArtifactDependency { /* private fields */ }Expand description
One explicit, directed image-artifact dependency.
It intentionally carries independently sourced endpoints. Collection-level provenance belongs to the caller’s enclosing source declaration.
Implementations§
Source§impl ArtifactDependency
impl ArtifactDependency
Sourcepub const fn new(
source: Sourced<ArtifactDependencyNode>,
target: Sourced<ArtifactDependencyNode>,
) -> Self
pub const fn new( source: Sourced<ArtifactDependencyNode>, target: Sourced<ArtifactDependencyNode>, ) -> Self
Creates an explicit typed dependency.
Sourcepub const fn source(&self) -> &Sourced<ArtifactDependencyNode>
pub const fn source(&self) -> &Sourced<ArtifactDependencyNode>
Returns the depending node and its provenance.
Sourcepub const fn target(&self) -> &Sourced<ArtifactDependencyNode>
pub const fn target(&self) -> &Sourced<ArtifactDependencyNode>
Returns the required node and its provenance.
Trait Implementations§
Source§impl Clone for ArtifactDependency
impl Clone for ArtifactDependency
Source§fn clone(&self) -> ArtifactDependency
fn clone(&self) -> ArtifactDependency
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 ArtifactDependency
impl Debug for ArtifactDependency
impl Eq for ArtifactDependency
Source§impl PartialEq for ArtifactDependency
impl PartialEq for ArtifactDependency
impl StructuralPartialEq for ArtifactDependency
Auto Trait Implementations§
impl Freeze for ArtifactDependency
impl RefUnwindSafe for ArtifactDependency
impl Send for ArtifactDependency
impl Sync for ArtifactDependency
impl Unpin for ArtifactDependency
impl UnsafeUnpin for ArtifactDependency
impl UnwindSafe for ArtifactDependency
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