[][src]Struct vf_rs::vf::Appreciation

pub struct Appreciation<ECONOMICEVENT> { /* fields omitted */ }

A way to tie an economic event that is given in loose fulfilment for another economic event, without commitments or expectations. Supports the gift economy.

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

Implementations

impl<ECONOMICEVENT> Appreciation<ECONOMICEVENT>[src]

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

The economic event being appreciated (gift economy).

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

The economic event implemented in appreciation (gift economy).

pub fn note(&self) -> &Option<String>[src]

impl<ECONOMICEVENT> Appreciation<ECONOMICEVENT>[src]

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

The economic event being appreciated (gift economy).

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

The economic event implemented in appreciation (gift economy).

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

impl<ECONOMICEVENT> Appreciation<ECONOMICEVENT>[src]

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

The economic event being appreciated (gift economy).

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

The economic event implemented in appreciation (gift economy).

pub fn note_mut(&mut self) -> &mut Option<String>[src]

impl<ECONOMICEVENT> Appreciation<ECONOMICEVENT>[src]

pub fn builder() -> AppreciationBuilder<ECONOMICEVENT>[src]

Create an empty builder object for Appreciation

pub fn into_builder(self) -> AppreciationBuilder<ECONOMICEVENT>[src]

Turns Appreciation into AppreciationBuilder

Trait Implementations

impl<ECONOMICEVENT: Clone> Clone for Appreciation<ECONOMICEVENT>[src]

impl<ECONOMICEVENT: Debug> Debug for Appreciation<ECONOMICEVENT>[src]

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

impl<ECONOMICEVENT: PartialEq> PartialEq<Appreciation<ECONOMICEVENT>> for Appreciation<ECONOMICEVENT>[src]

impl<ECONOMICEVENT> Serialize for Appreciation<ECONOMICEVENT> where
    ECONOMICEVENT: Serialize
[src]

impl<ECONOMICEVENT> StructuralPartialEq for Appreciation<ECONOMICEVENT>[src]

Auto Trait Implementations

impl<ECONOMICEVENT> RefUnwindSafe for Appreciation<ECONOMICEVENT> where
    ECONOMICEVENT: RefUnwindSafe

impl<ECONOMICEVENT> Send for Appreciation<ECONOMICEVENT> where
    ECONOMICEVENT: Send

impl<ECONOMICEVENT> Sync for Appreciation<ECONOMICEVENT> where
    ECONOMICEVENT: Sync

impl<ECONOMICEVENT> Unpin for Appreciation<ECONOMICEVENT> where
    ECONOMICEVENT: Unpin

impl<ECONOMICEVENT> UnwindSafe for Appreciation<ECONOMICEVENT> where
    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.