[][src]Struct vf_rs::fulfillment::Fulfillment

pub struct Fulfillment {
    pub effort_quantity: Option<Box<Measure>>,
    pub fulfilled_by: Box<EconomicEvent>,
    pub fulfills: Box<Commitment>,
    pub note: Option<String>,
    pub resource_quantity: Option<Box<Measure>>,
}

Represents many-to-many relationships between commitments and economic events that fully or partially satisfy one or more commitments.

ID: https://raw.githubusercontent.com/valueflows/valueflows/master/json-schemas/Fulfillment.json

Fields

effort_quantity: Option<Box<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.

fulfilled_by: Box<EconomicEvent>

The economic event which completely or partially fulfills a commitment.

fulfills: Box<Commitment>

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

note: Option<String>

A textual comment or description.

resource_quantity: Option<Box<Measure>>

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

Methods

impl Fulfillment[src]

pub fn into_builder(self) -> FulfillmentBuilder[src]

Turns Fulfillment into FulfillmentBuilder

Trait Implementations

impl Clone for Fulfillment[src]

impl Debug for Fulfillment[src]

impl<'de> Deserialize<'de> for Fulfillment[src]

impl PartialEq<Fulfillment> for Fulfillment[src]

impl Serialize for Fulfillment[src]

impl StructuralPartialEq for Fulfillment[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> DeserializeOwned for T where
    T: 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.