[−][src]Struct vf_rs::vf::RecipeFlow
The specification of a resource inflow to, or outflow from, a recipe process.
ID: https://w3id.org/valueflows#RecipeFlow
Implementations
impl<RECIPERESOURCE, RECIPEPROCESS> RecipeFlow<RECIPERESOURCE, RECIPEPROCESS>
[src]
pub fn action(&self) -> &Action
[src]
Defines the kind of flow, such as consume, produce, work, transfer, etc.
pub fn effort_quantity(&self) -> &Option<Measure>
[src]
The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness.
pub fn note(&self) -> &Option<String>
[src]
pub fn recipe_flow_resource(&self) -> &Option<RECIPERESOURCE>
[src]
The resource definition referenced by this flow in the recipe.
pub fn recipe_input_of(&self) -> &Option<RECIPEPROCESS>
[src]
Relates an input flow to it's process in a recipe.
pub fn recipe_output_of(&self) -> &Option<RECIPEPROCESS>
[src]
Relates an output flow to it's process in a recipe.
pub fn resource_quantity(&self) -> &Option<Measure>
[src]
The amount and unit of the economic resource counted or inventoried.
impl<RECIPERESOURCE, RECIPEPROCESS> RecipeFlow<RECIPERESOURCE, RECIPEPROCESS>
[src]
pub fn set_action(&mut self, val: Action) -> &mut Self
[src]
Defines the kind of flow, such as consume, produce, work, transfer, etc.
pub fn set_effort_quantity(&mut self, val: Option<Measure>) -> &mut Self
[src]
The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness.
pub fn set_note(&mut self, val: Option<String>) -> &mut Self
[src]
pub fn set_recipe_flow_resource(
&mut self,
val: Option<RECIPERESOURCE>
) -> &mut Self
[src]
&mut self,
val: Option<RECIPERESOURCE>
) -> &mut Self
The resource definition referenced by this flow in the recipe.
pub fn set_recipe_input_of(&mut self, val: Option<RECIPEPROCESS>) -> &mut Self
[src]
Relates an input flow to it's process in a recipe.
pub fn set_recipe_output_of(&mut self, val: Option<RECIPEPROCESS>) -> &mut Self
[src]
Relates an output flow to it's process in a recipe.
pub fn set_resource_quantity(&mut self, val: Option<Measure>) -> &mut Self
[src]
The amount and unit of the economic resource counted or inventoried.
impl<RECIPERESOURCE, RECIPEPROCESS> RecipeFlow<RECIPERESOURCE, RECIPEPROCESS>
[src]
pub fn action_mut(&mut self) -> &mut Action
[src]
Defines the kind of flow, such as consume, produce, work, transfer, etc.
pub fn effort_quantity_mut(&mut self) -> &mut Option<Measure>
[src]
The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness.
pub fn note_mut(&mut self) -> &mut Option<String>
[src]
pub fn recipe_flow_resource_mut(&mut self) -> &mut Option<RECIPERESOURCE>
[src]
The resource definition referenced by this flow in the recipe.
pub fn recipe_input_of_mut(&mut self) -> &mut Option<RECIPEPROCESS>
[src]
Relates an input flow to it's process in a recipe.
pub fn recipe_output_of_mut(&mut self) -> &mut Option<RECIPEPROCESS>
[src]
Relates an output flow to it's process in a recipe.
pub fn resource_quantity_mut(&mut self) -> &mut Option<Measure>
[src]
The amount and unit of the economic resource counted or inventoried.
impl<RECIPERESOURCE, RECIPEPROCESS> RecipeFlow<RECIPERESOURCE, RECIPEPROCESS>
[src]
pub fn builder() -> RecipeFlowBuilder<RECIPERESOURCE, RECIPEPROCESS>
[src]
Create an empty builder object for RecipeFlow
pub fn into_builder(self) -> RecipeFlowBuilder<RECIPERESOURCE, RECIPEPROCESS>
[src]
Turns RecipeFlow into RecipeFlowBuilder
Trait Implementations
impl<RECIPERESOURCE: Clone, RECIPEPROCESS: Clone> Clone for RecipeFlow<RECIPERESOURCE, RECIPEPROCESS>
[src]
fn clone(&self) -> RecipeFlow<RECIPERESOURCE, RECIPEPROCESS>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<RECIPERESOURCE: Debug, RECIPEPROCESS: Debug> Debug for RecipeFlow<RECIPERESOURCE, RECIPEPROCESS>
[src]
impl<'de, RECIPERESOURCE, RECIPEPROCESS> Deserialize<'de> for RecipeFlow<RECIPERESOURCE, RECIPEPROCESS> where
RECIPERESOURCE: Deserialize<'de>,
RECIPEPROCESS: Deserialize<'de>,
[src]
RECIPERESOURCE: Deserialize<'de>,
RECIPEPROCESS: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<RECIPERESOURCE: PartialEq, RECIPEPROCESS: PartialEq> PartialEq<RecipeFlow<RECIPERESOURCE, RECIPEPROCESS>> for RecipeFlow<RECIPERESOURCE, RECIPEPROCESS>
[src]
fn eq(&self, other: &RecipeFlow<RECIPERESOURCE, RECIPEPROCESS>) -> bool
[src]
fn ne(&self, other: &RecipeFlow<RECIPERESOURCE, RECIPEPROCESS>) -> bool
[src]
impl<RECIPERESOURCE, RECIPEPROCESS> Serialize for RecipeFlow<RECIPERESOURCE, RECIPEPROCESS> where
RECIPERESOURCE: Serialize,
RECIPEPROCESS: Serialize,
[src]
RECIPERESOURCE: Serialize,
RECIPEPROCESS: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<RECIPERESOURCE, RECIPEPROCESS> StructuralPartialEq for RecipeFlow<RECIPERESOURCE, RECIPEPROCESS>
[src]
Auto Trait Implementations
impl<RECIPERESOURCE, RECIPEPROCESS> RefUnwindSafe for RecipeFlow<RECIPERESOURCE, RECIPEPROCESS> where
RECIPEPROCESS: RefUnwindSafe,
RECIPERESOURCE: RefUnwindSafe,
RECIPEPROCESS: RefUnwindSafe,
RECIPERESOURCE: RefUnwindSafe,
impl<RECIPERESOURCE, RECIPEPROCESS> Send for RecipeFlow<RECIPERESOURCE, RECIPEPROCESS> where
RECIPEPROCESS: Send,
RECIPERESOURCE: Send,
RECIPEPROCESS: Send,
RECIPERESOURCE: Send,
impl<RECIPERESOURCE, RECIPEPROCESS> Sync for RecipeFlow<RECIPERESOURCE, RECIPEPROCESS> where
RECIPEPROCESS: Sync,
RECIPERESOURCE: Sync,
RECIPEPROCESS: Sync,
RECIPERESOURCE: Sync,
impl<RECIPERESOURCE, RECIPEPROCESS> Unpin for RecipeFlow<RECIPERESOURCE, RECIPEPROCESS> where
RECIPEPROCESS: Unpin,
RECIPERESOURCE: Unpin,
RECIPEPROCESS: Unpin,
RECIPERESOURCE: Unpin,
impl<RECIPERESOURCE, RECIPEPROCESS> UnwindSafe for RecipeFlow<RECIPERESOURCE, RECIPEPROCESS> where
RECIPEPROCESS: UnwindSafe,
RECIPERESOURCE: UnwindSafe,
RECIPEPROCESS: UnwindSafe,
RECIPERESOURCE: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,