Struct vf_rs::vf::RecipeFlow

source ·
pub struct RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION> { /* private fields */ }
Expand description

The specification of a resource inflow to, or outflow from, a recipe process.

ID: https://w3id.org/valueflows/ont/vf#RecipeFlow

Implementations§

source§

impl<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION> RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>

source

pub fn action_mut(&mut self) -> &mut Action

Defines the kind of flow, such as consume, produce, work, transfer, etc.

source

pub fn effort_quantity_mut(&mut self) -> &mut Option<Measure>

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.

source

pub fn note_mut(&mut self) -> &mut Option<String>

source

pub fn recipe_clause_of_mut(&mut self) -> &mut Option<RECIPEEXCHANGE>

Relates a flow to its exchange agreement in a recipe.

source

pub fn recipe_input_of_mut(&mut self) -> &mut Option<RECIPEPROCESS>

Relates an input flow to its process in a recipe.

source

pub fn recipe_output_of_mut(&mut self) -> &mut Option<RECIPEPROCESS>

Relates an output flow to its process in a recipe.

source

pub fn recipe_reciprocal_clause_of_mut(&mut self) -> &mut Option<RECIPEEXCHANGE>

Relates a reciprocal flow to its exchange agreement in a recipe.

source

pub fn resource_classified_as_mut( &mut self ) -> &mut Option<RESOURCECLASSIFIEDAS>

References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.

source

pub fn resource_conforms_to_mut(&mut self) -> &mut Option<RESOURCESPECIFICATION>

The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is.

source

pub fn resource_quantity_mut(&mut self) -> &mut Option<Measure>

The amount and unit of the economic resource counted or inventoried.

source

pub fn stage_mut(&mut self) -> &mut Option<PROCESSSPECIFICATION>

References the ProcessSpecification of the last process the economic resource went through. Stage is used when the last process is important for finding proper resources, such as where the publishing process wants only documents that have gone through the editing process.

source

pub fn state_mut(&mut self) -> &mut Option<String>

The state of the desired economic resource, after coming out of a test or review process.

source§

impl<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION> RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>

source

pub fn set_action(&mut self, val: Action) -> &mut Self

Defines the kind of flow, such as consume, produce, work, transfer, etc.

source

pub fn set_effort_quantity(&mut self, val: Option<Measure>) -> &mut Self

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.

source

pub fn set_note(&mut self, val: Option<String>) -> &mut Self

source

pub fn set_recipe_clause_of(&mut self, val: Option<RECIPEEXCHANGE>) -> &mut Self

Relates a flow to its exchange agreement in a recipe.

source

pub fn set_recipe_input_of(&mut self, val: Option<RECIPEPROCESS>) -> &mut Self

Relates an input flow to its process in a recipe.

source

pub fn set_recipe_output_of(&mut self, val: Option<RECIPEPROCESS>) -> &mut Self

Relates an output flow to its process in a recipe.

source

pub fn set_recipe_reciprocal_clause_of( &mut self, val: Option<RECIPEEXCHANGE> ) -> &mut Self

Relates a reciprocal flow to its exchange agreement in a recipe.

source

pub fn set_resource_classified_as( &mut self, val: Option<RESOURCECLASSIFIEDAS> ) -> &mut Self

References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.

source

pub fn set_resource_conforms_to( &mut self, val: Option<RESOURCESPECIFICATION> ) -> &mut Self

The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is.

source

pub fn set_resource_quantity(&mut self, val: Option<Measure>) -> &mut Self

The amount and unit of the economic resource counted or inventoried.

source

pub fn set_stage(&mut self, val: Option<PROCESSSPECIFICATION>) -> &mut Self

References the ProcessSpecification of the last process the economic resource went through. Stage is used when the last process is important for finding proper resources, such as where the publishing process wants only documents that have gone through the editing process.

source

pub fn set_state(&mut self, val: Option<String>) -> &mut Self

The state of the desired economic resource, after coming out of a test or review process.

source§

impl<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION> RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>

source

pub fn action(&self) -> &Action

Defines the kind of flow, such as consume, produce, work, transfer, etc.

source

pub fn effort_quantity(&self) -> &Option<Measure>

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.

source

pub fn note(&self) -> &Option<String>

source

pub fn recipe_clause_of(&self) -> &Option<RECIPEEXCHANGE>

Relates a flow to its exchange agreement in a recipe.

source

pub fn recipe_input_of(&self) -> &Option<RECIPEPROCESS>

Relates an input flow to its process in a recipe.

source

pub fn recipe_output_of(&self) -> &Option<RECIPEPROCESS>

Relates an output flow to its process in a recipe.

source

pub fn recipe_reciprocal_clause_of(&self) -> &Option<RECIPEEXCHANGE>

Relates a reciprocal flow to its exchange agreement in a recipe.

source

pub fn resource_classified_as(&self) -> &Option<RESOURCECLASSIFIEDAS>

References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.

source

pub fn resource_conforms_to(&self) -> &Option<RESOURCESPECIFICATION>

The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is.

source

pub fn resource_quantity(&self) -> &Option<Measure>

The amount and unit of the economic resource counted or inventoried.

source

pub fn stage(&self) -> &Option<PROCESSSPECIFICATION>

References the ProcessSpecification of the last process the economic resource went through. Stage is used when the last process is important for finding proper resources, such as where the publishing process wants only documents that have gone through the editing process.

source

pub fn state(&self) -> &Option<String>

The state of the desired economic resource, after coming out of a test or review process.

source§

impl<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION> RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>

source

pub fn builder( ) -> RecipeFlowBuilder<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>

Create an empty builder object for RecipeFlow

source

pub fn into_builder( self ) -> RecipeFlowBuilder<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>

Turns RecipeFlow into RecipeFlowBuilder

Trait Implementations§

source§

impl<RECIPEEXCHANGE: Clone, RECIPEPROCESS: Clone, RESOURCECLASSIFIEDAS: Clone, RESOURCESPECIFICATION: Clone, PROCESSSPECIFICATION: Clone> Clone for RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>

source§

fn clone( &self ) -> RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<RECIPEEXCHANGE: Debug, RECIPEPROCESS: Debug, RESOURCECLASSIFIEDAS: Debug, RESOURCESPECIFICATION: Debug, PROCESSSPECIFICATION: Debug> Debug for RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de, RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION> Deserialize<'de> for RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>
where RECIPEEXCHANGE: Deserialize<'de>, RECIPEPROCESS: Deserialize<'de>, RESOURCECLASSIFIEDAS: Deserialize<'de>, RESOURCESPECIFICATION: Deserialize<'de>, PROCESSSPECIFICATION: Deserialize<'de>,

source§

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<RECIPEEXCHANGE: PartialEq, RECIPEPROCESS: PartialEq, RESOURCECLASSIFIEDAS: PartialEq, RESOURCESPECIFICATION: PartialEq, PROCESSSPECIFICATION: PartialEq> PartialEq for RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>

source§

fn eq( &self, other: &RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION> ) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION> Serialize for RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>
where RECIPEEXCHANGE: Serialize, RECIPEPROCESS: Serialize, RESOURCECLASSIFIEDAS: Serialize, RESOURCESPECIFICATION: Serialize, PROCESSSPECIFICATION: Serialize,

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION> StructuralPartialEq for RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>

Auto Trait Implementations§

§

impl<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION> Freeze for RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>
where PROCESSSPECIFICATION: Freeze, RECIPEEXCHANGE: Freeze, RECIPEPROCESS: Freeze, RESOURCECLASSIFIEDAS: Freeze, RESOURCESPECIFICATION: Freeze,

§

impl<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION> RefUnwindSafe for RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>
where PROCESSSPECIFICATION: RefUnwindSafe, RECIPEEXCHANGE: RefUnwindSafe, RECIPEPROCESS: RefUnwindSafe, RESOURCECLASSIFIEDAS: RefUnwindSafe, RESOURCESPECIFICATION: RefUnwindSafe,

§

impl<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION> Send for RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>
where PROCESSSPECIFICATION: Send, RECIPEEXCHANGE: Send, RECIPEPROCESS: Send, RESOURCECLASSIFIEDAS: Send, RESOURCESPECIFICATION: Send,

§

impl<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION> Sync for RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>
where PROCESSSPECIFICATION: Sync, RECIPEEXCHANGE: Sync, RECIPEPROCESS: Sync, RESOURCECLASSIFIEDAS: Sync, RESOURCESPECIFICATION: Sync,

§

impl<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION> Unpin for RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>
where PROCESSSPECIFICATION: Unpin, RECIPEEXCHANGE: Unpin, RECIPEPROCESS: Unpin, RESOURCECLASSIFIEDAS: Unpin, RESOURCESPECIFICATION: Unpin,

§

impl<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION> UnwindSafe for RecipeFlow<RECIPEEXCHANGE, RECIPEPROCESS, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, PROCESSSPECIFICATION>
where PROCESSSPECIFICATION: UnwindSafe, RECIPEEXCHANGE: UnwindSafe, RECIPEPROCESS: UnwindSafe, RESOURCECLASSIFIEDAS: UnwindSafe, RESOURCESPECIFICATION: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,