[][src]Struct vf_rs::fulfillment::FulfillmentBuilder

pub struct FulfillmentBuilder { /* fields omitted */ }

Builder for Fulfillment.

Methods

impl FulfillmentBuilder[src]

pub fn effort_quantity<VALUE: Into<Box<Measure>>>(self, value: VALUE) -> 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 fulfilled_by(self, value: Box<EconomicEvent>) -> Self[src]

The economic event which completely or partially fulfills a commitment.

pub fn fulfills(self, value: Box<Commitment>) -> Self[src]

The commitment which is completely or partially fulfilled by an economic event.

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

A textual comment or description.

pub fn resource_quantity<VALUE: Into<Box<Measure>>>(self, value: VALUE) -> Self[src]

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

pub fn build(self) -> Result<Fulfillment, String>[src]

Builds a new Fulfillment.

Errors

If a required field has not been initialized.

Trait Implementations

impl Default for FulfillmentBuilder[src]

Auto Trait Implementations

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.