[−][src]Struct vf_rs::vf::Appreciation
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]
fn clone(&self) -> Appreciation<ECONOMICEVENT>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<ECONOMICEVENT: Debug> Debug for Appreciation<ECONOMICEVENT>
[src]
impl<'de, ECONOMICEVENT> Deserialize<'de> for Appreciation<ECONOMICEVENT> where
ECONOMICEVENT: Deserialize<'de>,
[src]
ECONOMICEVENT: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<ECONOMICEVENT: PartialEq> PartialEq<Appreciation<ECONOMICEVENT>> for Appreciation<ECONOMICEVENT>
[src]
fn eq(&self, other: &Appreciation<ECONOMICEVENT>) -> bool
[src]
fn ne(&self, other: &Appreciation<ECONOMICEVENT>) -> bool
[src]
impl<ECONOMICEVENT> Serialize for Appreciation<ECONOMICEVENT> where
ECONOMICEVENT: Serialize,
[src]
ECONOMICEVENT: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<ECONOMICEVENT> StructuralPartialEq for Appreciation<ECONOMICEVENT>
[src]
Auto Trait Implementations
impl<ECONOMICEVENT> RefUnwindSafe for Appreciation<ECONOMICEVENT> where
ECONOMICEVENT: RefUnwindSafe,
ECONOMICEVENT: RefUnwindSafe,
impl<ECONOMICEVENT> Send for Appreciation<ECONOMICEVENT> where
ECONOMICEVENT: Send,
ECONOMICEVENT: Send,
impl<ECONOMICEVENT> Sync for Appreciation<ECONOMICEVENT> where
ECONOMICEVENT: Sync,
ECONOMICEVENT: Sync,
impl<ECONOMICEVENT> Unpin for Appreciation<ECONOMICEVENT> where
ECONOMICEVENT: Unpin,
ECONOMICEVENT: Unpin,
impl<ECONOMICEVENT> UnwindSafe for Appreciation<ECONOMICEVENT> where
ECONOMICEVENT: UnwindSafe,
ECONOMICEVENT: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,