Struct vf_rs::vf::RecipeProcess
source · pub struct RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION> { /* private fields */ }
Expand description
Specifies a process in a recipe for use in planning from recipe.
Implementations§
source§impl<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION> RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
impl<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION> RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
pub fn has_duration_mut(&mut self) -> &mut Option<Duration>
sourcepub fn has_recipe_input_mut(&mut self) -> &mut Option<RECIPEFLOW>
pub fn has_recipe_input_mut(&mut self) -> &mut Option<RECIPEFLOW>
All the inputs of a recipe process.
sourcepub fn has_recipe_output_mut(&mut self) -> &mut Option<RECIPEFLOW>
pub fn has_recipe_output_mut(&mut self) -> &mut Option<RECIPEFLOW>
All the outputs of a recipe process.
sourcepub fn image_mut(&mut self) -> &mut Option<Url>
pub fn image_mut(&mut self) -> &mut Option<Url>
The uri to an image relevant to the entity, such as a logo, avatar, photo, diagram, etc.
sourcepub fn name_mut(&mut self) -> &mut String
pub fn name_mut(&mut self) -> &mut String
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn note_mut(&mut self) -> &mut Option<String>
sourcepub fn process_classified_as_mut(&mut self) -> &mut Vec<PROCESSCLASSIFIEDAS>
pub fn process_classified_as_mut(&mut self) -> &mut Vec<PROCESSCLASSIFIEDAS>
References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.
sourcepub fn process_conforms_to_mut(&mut self) -> &mut PROCESSSPECIFICATION
pub fn process_conforms_to_mut(&mut self) -> &mut PROCESSSPECIFICATION
The standard specification or definition of a process.
source§impl<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION> RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
impl<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION> RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
pub fn set_has_duration(&mut self, val: Option<Duration>) -> &mut Self
sourcepub fn set_has_recipe_input(&mut self, val: Option<RECIPEFLOW>) -> &mut Self
pub fn set_has_recipe_input(&mut self, val: Option<RECIPEFLOW>) -> &mut Self
All the inputs of a recipe process.
sourcepub fn set_has_recipe_output(&mut self, val: Option<RECIPEFLOW>) -> &mut Self
pub fn set_has_recipe_output(&mut self, val: Option<RECIPEFLOW>) -> &mut Self
All the outputs of a recipe process.
sourcepub fn set_image(&mut self, val: Option<Url>) -> &mut Self
pub fn set_image(&mut self, val: Option<Url>) -> &mut Self
The uri to an image relevant to the entity, such as a logo, avatar, photo, diagram, etc.
sourcepub fn set_name(&mut self, val: String) -> &mut Self
pub fn set_name(&mut self, val: String) -> &mut Self
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn set_note(&mut self, val: Option<String>) -> &mut Self
sourcepub fn set_process_classified_as(
&mut self,
val: Vec<PROCESSCLASSIFIEDAS>
) -> &mut Self
pub fn set_process_classified_as( &mut self, val: Vec<PROCESSCLASSIFIEDAS> ) -> &mut Self
References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.
sourcepub fn set_process_conforms_to(
&mut self,
val: PROCESSSPECIFICATION
) -> &mut Self
pub fn set_process_conforms_to( &mut self, val: PROCESSSPECIFICATION ) -> &mut Self
The standard specification or definition of a process.
source§impl<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION> RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
impl<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION> RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
pub fn has_duration(&self) -> &Option<Duration>
sourcepub fn has_recipe_input(&self) -> &Option<RECIPEFLOW>
pub fn has_recipe_input(&self) -> &Option<RECIPEFLOW>
All the inputs of a recipe process.
sourcepub fn has_recipe_output(&self) -> &Option<RECIPEFLOW>
pub fn has_recipe_output(&self) -> &Option<RECIPEFLOW>
All the outputs of a recipe process.
sourcepub fn image(&self) -> &Option<Url>
pub fn image(&self) -> &Option<Url>
The uri to an image relevant to the entity, such as a logo, avatar, photo, diagram, etc.
sourcepub fn name(&self) -> &String
pub fn name(&self) -> &String
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn note(&self) -> &Option<String>
sourcepub fn process_classified_as(&self) -> &Vec<PROCESSCLASSIFIEDAS>
pub fn process_classified_as(&self) -> &Vec<PROCESSCLASSIFIEDAS>
References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.
sourcepub fn process_conforms_to(&self) -> &PROCESSSPECIFICATION
pub fn process_conforms_to(&self) -> &PROCESSSPECIFICATION
The standard specification or definition of a process.
source§impl<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION> RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
impl<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION> RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
sourcepub fn builder(
) -> RecipeProcessBuilder<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
pub fn builder( ) -> RecipeProcessBuilder<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
Create an empty builder object for RecipeProcess
sourcepub fn into_builder(
self
) -> RecipeProcessBuilder<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
pub fn into_builder( self ) -> RecipeProcessBuilder<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
Turns RecipeProcess into RecipeProcessBuilder
Trait Implementations§
source§impl<RECIPEFLOW: Clone, PROCESSCLASSIFIEDAS: Clone, PROCESSSPECIFICATION: Clone> Clone for RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
impl<RECIPEFLOW: Clone, PROCESSCLASSIFIEDAS: Clone, PROCESSSPECIFICATION: Clone> Clone for RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
source§fn clone(
&self
) -> RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
fn clone( &self ) -> RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl<RECIPEFLOW: Debug, PROCESSCLASSIFIEDAS: Debug, PROCESSSPECIFICATION: Debug> Debug for RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
impl<RECIPEFLOW: Debug, PROCESSCLASSIFIEDAS: Debug, PROCESSSPECIFICATION: Debug> Debug for RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
source§impl<'de, RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION> Deserialize<'de> for RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>where
RECIPEFLOW: Deserialize<'de>,
PROCESSCLASSIFIEDAS: Deserialize<'de>,
PROCESSSPECIFICATION: Deserialize<'de>,
impl<'de, RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION> Deserialize<'de> for RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>where
RECIPEFLOW: Deserialize<'de>,
PROCESSCLASSIFIEDAS: Deserialize<'de>,
PROCESSSPECIFICATION: Deserialize<'de>,
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>,
source§impl<RECIPEFLOW: PartialEq, PROCESSCLASSIFIEDAS: PartialEq, PROCESSSPECIFICATION: PartialEq> PartialEq for RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
impl<RECIPEFLOW: PartialEq, PROCESSCLASSIFIEDAS: PartialEq, PROCESSSPECIFICATION: PartialEq> PartialEq for RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
source§fn eq(
&self,
other: &RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION>
) -> bool
fn eq( &self, other: &RecipeProcess<RECIPEFLOW, PROCESSCLASSIFIEDAS, PROCESSSPECIFICATION> ) -> bool
self
and other
values to be equal, and is used
by ==
.