[−][src]Struct vf_rs::vf::Proposal
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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<Proposal> for Proposal
[src]
impl Serialize for Proposal
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for Proposal
[src]
Auto Trait Implementations
impl RefUnwindSafe for Proposal
impl Send for Proposal
impl Sync for Proposal
impl Unpin for Proposal
impl UnwindSafe for Proposal
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>,