[][src]Struct vf_rs::vf::Agreement

pub struct Agreement { /* fields omitted */ }

Any type of agreement among economic agents.

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

Implementations

impl Agreement[src]

pub fn created(&self) -> &Option<DateTime<Utc>>[src]

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

An informal or formal textual identifier for an object. Does not imply uniqueness.

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

impl Agreement[src]

pub fn set_created(&mut self, val: Option<DateTime<Utc>>) -> &mut Self[src]

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

An informal or formal textual identifier for an object. Does not imply uniqueness.

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

impl Agreement[src]

pub fn created_mut(&mut self) -> &mut Option<DateTime<Utc>>[src]

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

An informal or formal textual identifier for an object. Does not imply uniqueness.

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

impl Agreement[src]

pub fn builder() -> AgreementBuilder[src]

Create an empty builder object for Agreement

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

Turns Agreement into AgreementBuilder

Trait Implementations

impl Clone for Agreement[src]

impl Debug for Agreement[src]

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

impl PartialEq<Agreement> for Agreement[src]

impl Serialize for Agreement[src]

impl StructuralPartialEq for Agreement[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: 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.