[][src]Struct vf_rs::vf::builders::ProcessBuilder

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

Builder for Process.

Implementations

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

pub fn based_on<VALUE: Into<PROCESSSPECIFICATION>>(self, value: VALUE) -> Self[src]

The definition or standard specification for a process.

pub fn classified_as<VALUE: Into<Vec<Url>>>(self, value: VALUE) -> Self[src]

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

pub fn finished<VALUE: Into<bool>>(self, value: VALUE) -> 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 has_beginning<VALUE: Into<DateTime<Utc>>>(self, value: VALUE) -> Self[src]

The planned or actual beginning of a flow or process.

pub fn has_end<VALUE: Into<DateTime<Utc>>>(self, value: VALUE) -> Self[src]

The planned or actual end of a flow or process.

pub fn in_scope_of<VALUE: Into<Vec<Url>>>(self, value: VALUE) -> Self[src]

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

pub fn name<VALUE: Into<String>>(self, value: VALUE) -> Self[src]

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

pub fn nested_in<VALUE: Into<SCENARIO>>(self, value: VALUE) -> Self[src]

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

pub fn note<VALUE: Into<String>>(self, value: VALUE) -> Self[src]

pub fn planned_within<VALUE: Into<PLAN>>(self, value: VALUE) -> Self[src]

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

pub fn build(
    self
) -> Result<Process<PROCESSSPECIFICATION, SCENARIO, PLAN>, String>
[src]

Builds a new Process.

Errors

If a required field has not been initialized.

Trait Implementations

impl<PROCESSSPECIFICATION: Default, SCENARIO: Default, PLAN: Default> Default for ProcessBuilder<PROCESSSPECIFICATION, SCENARIO, PLAN>[src]

Auto Trait Implementations

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

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

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

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

impl<PROCESSSPECIFICATION, SCENARIO, PLAN> UnwindSafe for ProcessBuilder<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> From<T> for T[src]

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

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.