[][src]Struct vf_rs::vf::Settlement

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

Represents many-to-many relationships between claim and economic events that fully or partially settle one or more claims.

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

Implementations

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

pub fn effort_quantity(&self) -> &Option<Measure>[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(&self) -> &Option<String>[src]

pub fn resource_quantity(&self) -> &Option<Measure>[src]

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

pub fn settled_by(&self) -> &ECONOMICEVENT[src]

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

pub fn settles(&self) -> &CLAIM[src]

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

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

pub fn set_effort_quantity(&mut self, val: Option<Measure>) -> &mut 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 set_note(&mut self, val: Option<String>) -> &mut Self[src]

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

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

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

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

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

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

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

pub fn effort_quantity_mut(&mut self) -> &mut Option<Measure>[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_mut(&mut self) -> &mut Option<String>[src]

pub fn resource_quantity_mut(&mut self) -> &mut Option<Measure>[src]

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

pub fn settled_by_mut(&mut self) -> &mut ECONOMICEVENT[src]

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

pub fn settles_mut(&mut self) -> &mut CLAIM[src]

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

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

pub fn builder() -> SettlementBuilder<ECONOMICEVENT, CLAIM>[src]

Create an empty builder object for Settlement

pub fn into_builder(self) -> SettlementBuilder<ECONOMICEVENT, CLAIM>[src]

Turns Settlement into SettlementBuilder

Trait Implementations

impl<ECONOMICEVENT: Clone, CLAIM: Clone> Clone for Settlement<ECONOMICEVENT, CLAIM>[src]

impl<ECONOMICEVENT: Debug, CLAIM: Debug> Debug for Settlement<ECONOMICEVENT, CLAIM>[src]

impl<'de, ECONOMICEVENT, CLAIM> Deserialize<'de> for Settlement<ECONOMICEVENT, CLAIM> where
    ECONOMICEVENT: Deserialize<'de>,
    CLAIM: Deserialize<'de>, 
[src]

impl<ECONOMICEVENT: PartialEq, CLAIM: PartialEq> PartialEq<Settlement<ECONOMICEVENT, CLAIM>> for Settlement<ECONOMICEVENT, CLAIM>[src]

impl<ECONOMICEVENT, CLAIM> Serialize for Settlement<ECONOMICEVENT, CLAIM> where
    ECONOMICEVENT: Serialize,
    CLAIM: Serialize
[src]

impl<ECONOMICEVENT, CLAIM> StructuralPartialEq for Settlement<ECONOMICEVENT, CLAIM>[src]

Auto Trait Implementations

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

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

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

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

impl<ECONOMICEVENT, CLAIM> UnwindSafe for Settlement<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> 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.