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

pub struct SettlementBuilder<ECONOMICEVENT, CLAIM> { /* fields omitted */ }

Builder for Settlement.

Implementations

impl<ECONOMICEVENT, CLAIM> SettlementBuilder<ECONOMICEVENT, CLAIM>[src]

pub fn effort_quantity<VALUE: Into<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 note<VALUE: Into<String>>(self, value: VALUE) -> Self[src]

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

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

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

References an economic event that fully or partially settles the claim.

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

References a claim that is fully or partially settled by the economic event.

pub fn build(self) -> Result<Settlement<ECONOMICEVENT, CLAIM>, String>[src]

Builds a new Settlement.

Errors

If a required field has not been initialized.

Trait Implementations

impl<ECONOMICEVENT: Default, CLAIM: Default> Default for SettlementBuilder<ECONOMICEVENT, CLAIM>[src]

Auto Trait Implementations

impl<ECONOMICEVENT, CLAIM> RefUnwindSafe for SettlementBuilder<ECONOMICEVENT, CLAIM> where
    CLAIM: RefUnwindSafe,
    ECONOMICEVENT: RefUnwindSafe

impl<ECONOMICEVENT, CLAIM> Send for SettlementBuilder<ECONOMICEVENT, CLAIM> where
    CLAIM: Send,
    ECONOMICEVENT: Send

impl<ECONOMICEVENT, CLAIM> Sync for SettlementBuilder<ECONOMICEVENT, CLAIM> where
    CLAIM: Sync,
    ECONOMICEVENT: Sync

impl<ECONOMICEVENT, CLAIM> Unpin for SettlementBuilder<ECONOMICEVENT, CLAIM> where
    CLAIM: Unpin,
    ECONOMICEVENT: Unpin

impl<ECONOMICEVENT, CLAIM> UnwindSafe for SettlementBuilder<ECONOMICEVENT, CLAIM> where
    CLAIM: UnwindSafe,
    ECONOMICEVENT: 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.