[][src]Struct vf_rs::vf::Process

pub struct Process<PROCESSSPECIFICATION, SCENARIO, PLAN> { /* fields omitted */ }

An activity that changes inputs into outputs. It could transform or transport economic resource(s).

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

Implementations

impl<PROCESSSPECIFICATION, SCENARIO, PLAN> Process<PROCESSSPECIFICATION, SCENARIO, PLAN>[src]

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

The definition or standard specification for a process.

pub fn classified_as(&self) -> &Vec<Url>[src]

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

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

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.

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

The planned or actual beginning of a flow or process.

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

The planned or actual end of a flow or process.

pub fn in_scope_of(&self) -> &Vec<Url>[src]

Grouping around something to create a boundary or context, used for documenting, accounting, planning.

pub fn name(&self) -> &String[src]

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

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

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

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

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

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

impl<PROCESSSPECIFICATION, SCENARIO, PLAN> Process<PROCESSSPECIFICATION, SCENARIO, PLAN>[src]

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

The definition or standard specification for a process.

pub fn set_classified_as(&mut self, val: Vec<Url>) -> &mut Self[src]

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

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

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.

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

The planned or actual beginning of a flow or process.

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

The planned or actual end of a flow or process.

pub fn set_in_scope_of(&mut self, val: Vec<Url>) -> &mut Self[src]

Grouping around something to create a boundary or context, used for documenting, accounting, planning.

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

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

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

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

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

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

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

impl<PROCESSSPECIFICATION, SCENARIO, PLAN> Process<PROCESSSPECIFICATION, SCENARIO, PLAN>[src]

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

The definition or standard specification for a process.

pub fn classified_as_mut(&mut self) -> &mut Vec<Url>[src]

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

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

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.

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

The planned or actual beginning of a flow or process.

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

The planned or actual end of a flow or process.

pub fn in_scope_of_mut(&mut self) -> &mut Vec<Url>[src]

Grouping around something to create a boundary or context, used for documenting, accounting, planning.

pub fn name_mut(&mut self) -> &mut String[src]

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

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

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

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

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

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

impl<PROCESSSPECIFICATION, SCENARIO, PLAN> Process<PROCESSSPECIFICATION, SCENARIO, PLAN>[src]

pub fn builder() -> ProcessBuilder<PROCESSSPECIFICATION, SCENARIO, PLAN>[src]

Create an empty builder object for Process

pub fn into_builder(
    self
) -> ProcessBuilder<PROCESSSPECIFICATION, SCENARIO, PLAN>
[src]

Turns Process into ProcessBuilder

Trait Implementations

impl<PROCESSSPECIFICATION: Clone, SCENARIO: Clone, PLAN: Clone> Clone for Process<PROCESSSPECIFICATION, SCENARIO, PLAN>[src]

impl<PROCESSSPECIFICATION: Debug, SCENARIO: Debug, PLAN: Debug> Debug for Process<PROCESSSPECIFICATION, SCENARIO, PLAN>[src]

impl<'de, PROCESSSPECIFICATION, SCENARIO, PLAN> Deserialize<'de> for Process<PROCESSSPECIFICATION, SCENARIO, PLAN> where
    PROCESSSPECIFICATION: Deserialize<'de>,
    SCENARIO: Deserialize<'de>,
    PLAN: Deserialize<'de>, 
[src]

impl<PROCESSSPECIFICATION: PartialEq, SCENARIO: PartialEq, PLAN: PartialEq> PartialEq<Process<PROCESSSPECIFICATION, SCENARIO, PLAN>> for Process<PROCESSSPECIFICATION, SCENARIO, PLAN>[src]

impl<PROCESSSPECIFICATION, SCENARIO, PLAN> Serialize for Process<PROCESSSPECIFICATION, SCENARIO, PLAN> where
    PROCESSSPECIFICATION: Serialize,
    SCENARIO: Serialize,
    PLAN: Serialize
[src]

impl<PROCESSSPECIFICATION, SCENARIO, PLAN> StructuralPartialEq for Process<PROCESSSPECIFICATION, SCENARIO, PLAN>[src]

Auto Trait Implementations

impl<PROCESSSPECIFICATION, SCENARIO, PLAN> RefUnwindSafe for Process<PROCESSSPECIFICATION, SCENARIO, PLAN> where
    PLAN: RefUnwindSafe,
    PROCESSSPECIFICATION: RefUnwindSafe,
    SCENARIO: RefUnwindSafe

impl<PROCESSSPECIFICATION, SCENARIO, PLAN> Send for Process<PROCESSSPECIFICATION, SCENARIO, PLAN> where
    PLAN: Send,
    PROCESSSPECIFICATION: Send,
    SCENARIO: Send

impl<PROCESSSPECIFICATION, SCENARIO, PLAN> Sync for Process<PROCESSSPECIFICATION, SCENARIO, PLAN> where
    PLAN: Sync,
    PROCESSSPECIFICATION: Sync,
    SCENARIO: Sync

impl<PROCESSSPECIFICATION, SCENARIO, PLAN> Unpin for Process<PROCESSSPECIFICATION, SCENARIO, PLAN> where
    PLAN: Unpin,
    PROCESSSPECIFICATION: Unpin,
    SCENARIO: Unpin

impl<PROCESSSPECIFICATION, SCENARIO, PLAN> UnwindSafe for Process<PROCESSSPECIFICATION, SCENARIO, PLAN> where
    PLAN: UnwindSafe,
    PROCESSSPECIFICATION: UnwindSafe,
    SCENARIO: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.