pub struct ArtifactTransform {
pub inputs: Vec<ArtifactSchema>,
pub outputs: Vec<ArtifactSchema>,
}Expand description
An artifact transform — a pipeline step that produces or consumes artifacts.
Fields§
§inputs: Vec<ArtifactSchema>Artifacts consumed (input).
outputs: Vec<ArtifactSchema>Artifacts produced (output).
Implementations§
Source§impl ArtifactTransform
impl ArtifactTransform
Sourcepub fn produces(schemas: Vec<ArtifactSchema>) -> Self
pub fn produces(schemas: Vec<ArtifactSchema>) -> Self
Create a transform that only produces artifacts.
Sourcepub fn consumes(schemas: Vec<ArtifactSchema>) -> Self
pub fn consumes(schemas: Vec<ArtifactSchema>) -> Self
Create a transform that only consumes artifacts.
Trait Implementations§
Source§impl Clone for ArtifactTransform
impl Clone for ArtifactTransform
Source§fn clone(&self) -> ArtifactTransform
fn clone(&self) -> ArtifactTransform
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 moreAuto Trait Implementations§
impl Freeze for ArtifactTransform
impl RefUnwindSafe for ArtifactTransform
impl Send for ArtifactTransform
impl Sync for ArtifactTransform
impl Unpin for ArtifactTransform
impl UnwindSafe for ArtifactTransform
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