Struct vf_rs::vf::Process

source ·
pub struct Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN> { /* private fields */ }
Expand description

An activity that changes inputs into outputs, by transforming or transporting economic resource(s).

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

Implementations§

source§

impl<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN> Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>

source

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

The definition or standard specification for a process.

source

pub fn classified_as_mut(&mut self) -> &mut Vec<CLASSIFIEDAS>

References one or more concepts in a common taxonomy or other classification scheme for purposes of categorization or grouping.

source

pub fn finished_mut(&mut self) -> &mut Option<bool>

The commitment or intent or process is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done.

source

pub fn has_beginning_mut(&mut self) -> &mut Option<DateTime<Utc>>

The planned or actual beginning of a flow or process.

source

pub fn has_end_mut(&mut self) -> &mut Option<DateTime<Utc>>

The planned or actual end of a flow or process.

source

pub fn has_input_mut( &mut self ) -> &mut Option<CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>>

All the input flows of a process.

source

pub fn has_output_mut( &mut self ) -> &mut Option<CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>>

All the output flows of a process.

source

pub fn in_scope_of_mut(&mut self) -> &mut Vec<AGENT>

In the context of an agent, a grouping generally used for accounting, reporting.

source

pub fn name_mut(&mut self) -> &mut String

An informal or formal textual identifier for an object. Does not imply uniqueness.

source

pub fn nested_in_mut(&mut self) -> &mut Option<SCENARIO>

The process with its inputs and outputs is part of the scenario.

source

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

source

pub fn planned_within_mut(&mut self) -> &mut Option<PLAN>

The non-process commitment/intent or process with its inputs and outputs is part of the plan.

source§

impl<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN> Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>

source

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

The definition or standard specification for a process.

source

pub fn set_classified_as(&mut self, val: Vec<CLASSIFIEDAS>) -> &mut Self

References one or more concepts in a common taxonomy or other classification scheme for purposes of categorization or grouping.

source

pub fn set_finished(&mut self, val: Option<bool>) -> &mut Self

The commitment or intent or process is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done.

source

pub fn set_has_beginning(&mut self, val: Option<DateTime<Utc>>) -> &mut Self

The planned or actual beginning of a flow or process.

source

pub fn set_has_end(&mut self, val: Option<DateTime<Utc>>) -> &mut Self

The planned or actual end of a flow or process.

source

pub fn set_has_input( &mut self, val: Option<CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>> ) -> &mut Self

All the input flows of a process.

source

pub fn set_has_output( &mut self, val: Option<CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>> ) -> &mut Self

All the output flows of a process.

source

pub fn set_in_scope_of(&mut self, val: Vec<AGENT>) -> &mut Self

In the context of an agent, a grouping generally used for accounting, reporting.

source

pub fn set_name(&mut self, val: String) -> &mut Self

An informal or formal textual identifier for an object. Does not imply uniqueness.

source

pub fn set_nested_in(&mut self, val: Option<SCENARIO>) -> &mut Self

The process with its inputs and outputs is part of the scenario.

source

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

source

pub fn set_planned_within(&mut self, val: Option<PLAN>) -> &mut Self

The non-process commitment/intent or process with its inputs and outputs is part of the plan.

source§

impl<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN> Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>

source

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

The definition or standard specification for a process.

source

pub fn classified_as(&self) -> &Vec<CLASSIFIEDAS>

References one or more concepts in a common taxonomy or other classification scheme for purposes of categorization or grouping.

source

pub fn finished(&self) -> &Option<bool>

The commitment or intent or process is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done.

source

pub fn has_beginning(&self) -> &Option<DateTime<Utc>>

The planned or actual beginning of a flow or process.

source

pub fn has_end(&self) -> &Option<DateTime<Utc>>

The planned or actual end of a flow or process.

source

pub fn has_input( &self ) -> &Option<CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>>

All the input flows of a process.

source

pub fn has_output( &self ) -> &Option<CommitmentEconomicEventIntentUnion<COMMITMENT, ECONOMICEVENT, INTENT>>

All the output flows of a process.

source

pub fn in_scope_of(&self) -> &Vec<AGENT>

In the context of an agent, a grouping generally used for accounting, reporting.

source

pub fn name(&self) -> &String

An informal or formal textual identifier for an object. Does not imply uniqueness.

source

pub fn nested_in(&self) -> &Option<SCENARIO>

The process with its inputs and outputs is part of the scenario.

source

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

source

pub fn planned_within(&self) -> &Option<PLAN>

The non-process commitment/intent or process with its inputs and outputs is part of the plan.

source§

impl<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN> Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>

source

pub fn builder( ) -> ProcessBuilder<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>

Create an empty builder object for Process

source

pub fn into_builder( self ) -> ProcessBuilder<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>

Turns Process into ProcessBuilder

Trait Implementations§

source§

impl<PROCESSSPECIFICATION: Clone, CLASSIFIEDAS: Clone, COMMITMENT: Clone, ECONOMICEVENT: Clone, INTENT: Clone, AGENT: Clone, SCENARIO: Clone, PLAN: Clone> Clone for Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>

source§

fn clone( &self ) -> Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>

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<PROCESSSPECIFICATION: Debug, CLASSIFIEDAS: Debug, COMMITMENT: Debug, ECONOMICEVENT: Debug, INTENT: Debug, AGENT: Debug, SCENARIO: Debug, PLAN: Debug> Debug for Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>

source§

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

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

impl<'de, PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN> Deserialize<'de> for Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>
where PROCESSSPECIFICATION: Deserialize<'de>, CLASSIFIEDAS: Deserialize<'de>, COMMITMENT: Deserialize<'de>, ECONOMICEVENT: Deserialize<'de>, INTENT: Deserialize<'de>, AGENT: Deserialize<'de>, SCENARIO: Deserialize<'de>, PLAN: 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<PROCESSSPECIFICATION: PartialEq, CLASSIFIEDAS: PartialEq, COMMITMENT: PartialEq, ECONOMICEVENT: PartialEq, INTENT: PartialEq, AGENT: PartialEq, SCENARIO: PartialEq, PLAN: PartialEq> PartialEq for Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>

source§

fn eq( &self, other: &Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN> ) -> 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<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN> Serialize for Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>
where PROCESSSPECIFICATION: Serialize, CLASSIFIEDAS: Serialize, COMMITMENT: Serialize, ECONOMICEVENT: Serialize, INTENT: Serialize, AGENT: Serialize, SCENARIO: Serialize, PLAN: 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<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN> StructuralPartialEq for Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>

Auto Trait Implementations§

§

impl<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN> Freeze for Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>
where COMMITMENT: Freeze, ECONOMICEVENT: Freeze, INTENT: Freeze, PLAN: Freeze, PROCESSSPECIFICATION: Freeze, SCENARIO: Freeze,

§

impl<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN> RefUnwindSafe for Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>
where AGENT: RefUnwindSafe, CLASSIFIEDAS: RefUnwindSafe, COMMITMENT: RefUnwindSafe, ECONOMICEVENT: RefUnwindSafe, INTENT: RefUnwindSafe, PLAN: RefUnwindSafe, PROCESSSPECIFICATION: RefUnwindSafe, SCENARIO: RefUnwindSafe,

§

impl<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN> Send for Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>
where AGENT: Send, CLASSIFIEDAS: Send, COMMITMENT: Send, ECONOMICEVENT: Send, INTENT: Send, PLAN: Send, PROCESSSPECIFICATION: Send, SCENARIO: Send,

§

impl<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN> Sync for Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>
where AGENT: Sync, CLASSIFIEDAS: Sync, COMMITMENT: Sync, ECONOMICEVENT: Sync, INTENT: Sync, PLAN: Sync, PROCESSSPECIFICATION: Sync, SCENARIO: Sync,

§

impl<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN> Unpin for Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>
where AGENT: Unpin, CLASSIFIEDAS: Unpin, COMMITMENT: Unpin, ECONOMICEVENT: Unpin, INTENT: Unpin, PLAN: Unpin, PROCESSSPECIFICATION: Unpin, SCENARIO: Unpin,

§

impl<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN> UnwindSafe for Process<PROCESSSPECIFICATION, CLASSIFIEDAS, COMMITMENT, ECONOMICEVENT, INTENT, AGENT, SCENARIO, PLAN>
where AGENT: UnwindSafe, CLASSIFIEDAS: UnwindSafe, COMMITMENT: UnwindSafe, ECONOMICEVENT: UnwindSafe, INTENT: UnwindSafe, PLAN: UnwindSafe, PROCESSSPECIFICATION: UnwindSafe, SCENARIO: 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>,