Struct xvc_pipeline::XvcPipelineSchema
source · pub struct XvcPipelineSchema {
pub version: i32,
pub name: String,
pub workdir: XvcPath,
pub steps: Vec<XvcStepSchema>,
}Expand description
Defines the user editable pipeline schema used in xvc pipeline export and
xvc pipeline import commands.
Fields§
§version: i32Version of the schema, currently 1.
name: StringName of the pipeline.
Note that this can also be specified in CLI with --name flag and it
supersedes this value.
workdir: XvcPathPath to the pipeline root directory.
steps: Vec<XvcStepSchema>List of steps in the pipeline.
Trait Implementations§
source§impl Clone for XvcPipelineSchema
impl Clone for XvcPipelineSchema
source§fn clone(&self) -> XvcPipelineSchema
fn clone(&self) -> XvcPipelineSchema
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 XvcPipelineSchema
impl Debug for XvcPipelineSchema
source§impl<'de> Deserialize<'de> for XvcPipelineSchema
impl<'de> Deserialize<'de> for XvcPipelineSchema
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 PartialEq<XvcPipelineSchema> for XvcPipelineSchema
impl PartialEq<XvcPipelineSchema> for XvcPipelineSchema
source§fn eq(&self, other: &XvcPipelineSchema) -> bool
fn eq(&self, other: &XvcPipelineSchema) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for XvcPipelineSchema
impl Serialize for XvcPipelineSchema
impl Eq for XvcPipelineSchema
impl StructuralEq for XvcPipelineSchema
impl StructuralPartialEq for XvcPipelineSchema
Auto Trait Implementations§
impl RefUnwindSafe for XvcPipelineSchema
impl Send for XvcPipelineSchema
impl Sync for XvcPipelineSchema
impl Unpin for XvcPipelineSchema
impl UnwindSafe for XvcPipelineSchema
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.