[][src]Struct vf_rs::vf::Proposal

pub struct Proposal { /* fields omitted */ }

Published requests or offers, sometimes with what is expected in return.

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

Implementations

impl Proposal[src]

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

pub fn eligible_location(&self) -> &Option<SpatialThing>[src]

Location or area where the proposal is valid.

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

The planned or actual beginning of a flow or process.

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

The planned or actual end of a flow or process.

pub fn in_scope_of(&self) -> &Vec<Url>[src]

Grouping around something to create a boundary or context, used for documenting, accounting, planning.

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]

pub fn unit_based(&self) -> &Option<bool>[src]

This proposal contains unit based quantities, which can be multipied to create commitments; commonly seen in a price list or e-commerce.

impl Proposal[src]

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

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

Location or area where the proposal is valid.

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

The planned or actual beginning of a flow or process.

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

The planned or actual end of a flow or process.

pub fn set_in_scope_of(&mut self, val: Vec<Url>) -> &mut Self[src]

Grouping around something to create a boundary or context, used for documenting, accounting, planning.

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]

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

This proposal contains unit based quantities, which can be multipied to create commitments; commonly seen in a price list or e-commerce.

impl Proposal[src]

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

pub fn eligible_location_mut(&mut self) -> &mut Option<SpatialThing>[src]

Location or area where the proposal is valid.

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

The planned or actual beginning of a flow or process.

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

The planned or actual end of a flow or process.

pub fn in_scope_of_mut(&mut self) -> &mut Vec<Url>[src]

Grouping around something to create a boundary or context, used for documenting, accounting, planning.

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]

pub fn unit_based_mut(&mut self) -> &mut Option<bool>[src]

This proposal contains unit based quantities, which can be multipied to create commitments; commonly seen in a price list or e-commerce.

impl Proposal[src]

pub fn builder() -> ProposalBuilder[src]

Create an empty builder object for Proposal

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

Turns Proposal into ProposalBuilder

Trait Implementations

impl Clone for Proposal[src]

impl Debug for Proposal[src]

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

impl PartialEq<Proposal> for Proposal[src]

impl Serialize for Proposal[src]

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