[−][src]Struct vf_rs::vf::Fulfillment
Represents many-to-many relationships between commitments and economic events that fully or partially satisfy one or more commitments.
ID: https://w3id.org/valueflows#Fulfillment
Implementations
impl<ECONOMICEVENT, COMMITMENT> Fulfillment<ECONOMICEVENT, COMMITMENT>
[src]
pub fn effort_quantity(&self) -> &Option<Measure>
[src]
The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness.
pub fn fulfilled_by(&self) -> &ECONOMICEVENT
[src]
The economic event which completely or partially fulfills a commitment.
pub fn fulfills(&self) -> &COMMITMENT
[src]
The commitment which is completely or partially fulfilled by an economic event.
pub fn note(&self) -> &Option<String>
[src]
pub fn resource_quantity(&self) -> &Option<Measure>
[src]
The amount and unit of the economic resource counted or inventoried.
impl<ECONOMICEVENT, COMMITMENT> Fulfillment<ECONOMICEVENT, COMMITMENT>
[src]
pub fn set_effort_quantity(&mut self, val: Option<Measure>) -> &mut Self
[src]
The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness.
pub fn set_fulfilled_by(&mut self, val: ECONOMICEVENT) -> &mut Self
[src]
The economic event which completely or partially fulfills a commitment.
pub fn set_fulfills(&mut self, val: COMMITMENT) -> &mut Self
[src]
The commitment which is completely or partially fulfilled by an economic event.
pub fn set_note(&mut self, val: Option<String>) -> &mut Self
[src]
pub fn set_resource_quantity(&mut self, val: Option<Measure>) -> &mut Self
[src]
The amount and unit of the economic resource counted or inventoried.
impl<ECONOMICEVENT, COMMITMENT> Fulfillment<ECONOMICEVENT, COMMITMENT>
[src]
pub fn effort_quantity_mut(&mut self) -> &mut Option<Measure>
[src]
The amount and unit of the work or use or citation effort-based action. This is often a time duration, but also could be cycle counts or other measures of effort or usefulness.
pub fn fulfilled_by_mut(&mut self) -> &mut ECONOMICEVENT
[src]
The economic event which completely or partially fulfills a commitment.
pub fn fulfills_mut(&mut self) -> &mut COMMITMENT
[src]
The commitment which is completely or partially fulfilled by an economic event.
pub fn note_mut(&mut self) -> &mut Option<String>
[src]
pub fn resource_quantity_mut(&mut self) -> &mut Option<Measure>
[src]
The amount and unit of the economic resource counted or inventoried.
impl<ECONOMICEVENT, COMMITMENT> Fulfillment<ECONOMICEVENT, COMMITMENT>
[src]
pub fn builder() -> FulfillmentBuilder<ECONOMICEVENT, COMMITMENT>
[src]
Create an empty builder object for Fulfillment
pub fn into_builder(self) -> FulfillmentBuilder<ECONOMICEVENT, COMMITMENT>
[src]
Turns Fulfillment into FulfillmentBuilder
Trait Implementations
impl<ECONOMICEVENT: Clone, COMMITMENT: Clone> Clone for Fulfillment<ECONOMICEVENT, COMMITMENT>
[src]
fn clone(&self) -> Fulfillment<ECONOMICEVENT, COMMITMENT>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<ECONOMICEVENT: Debug, COMMITMENT: Debug> Debug for Fulfillment<ECONOMICEVENT, COMMITMENT>
[src]
impl<'de, ECONOMICEVENT, COMMITMENT> Deserialize<'de> for Fulfillment<ECONOMICEVENT, COMMITMENT> where
ECONOMICEVENT: Deserialize<'de>,
COMMITMENT: Deserialize<'de>,
[src]
ECONOMICEVENT: Deserialize<'de>,
COMMITMENT: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<ECONOMICEVENT: PartialEq, COMMITMENT: PartialEq> PartialEq<Fulfillment<ECONOMICEVENT, COMMITMENT>> for Fulfillment<ECONOMICEVENT, COMMITMENT>
[src]
fn eq(&self, other: &Fulfillment<ECONOMICEVENT, COMMITMENT>) -> bool
[src]
fn ne(&self, other: &Fulfillment<ECONOMICEVENT, COMMITMENT>) -> bool
[src]
impl<ECONOMICEVENT, COMMITMENT> Serialize for Fulfillment<ECONOMICEVENT, COMMITMENT> where
ECONOMICEVENT: Serialize,
COMMITMENT: Serialize,
[src]
ECONOMICEVENT: Serialize,
COMMITMENT: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<ECONOMICEVENT, COMMITMENT> StructuralPartialEq for Fulfillment<ECONOMICEVENT, COMMITMENT>
[src]
Auto Trait Implementations
impl<ECONOMICEVENT, COMMITMENT> RefUnwindSafe for Fulfillment<ECONOMICEVENT, COMMITMENT> where
COMMITMENT: RefUnwindSafe,
ECONOMICEVENT: RefUnwindSafe,
COMMITMENT: RefUnwindSafe,
ECONOMICEVENT: RefUnwindSafe,
impl<ECONOMICEVENT, COMMITMENT> Send for Fulfillment<ECONOMICEVENT, COMMITMENT> where
COMMITMENT: Send,
ECONOMICEVENT: Send,
COMMITMENT: Send,
ECONOMICEVENT: Send,
impl<ECONOMICEVENT, COMMITMENT> Sync for Fulfillment<ECONOMICEVENT, COMMITMENT> where
COMMITMENT: Sync,
ECONOMICEVENT: Sync,
COMMITMENT: Sync,
ECONOMICEVENT: Sync,
impl<ECONOMICEVENT, COMMITMENT> Unpin for Fulfillment<ECONOMICEVENT, COMMITMENT> where
COMMITMENT: Unpin,
ECONOMICEVENT: Unpin,
COMMITMENT: Unpin,
ECONOMICEVENT: Unpin,
impl<ECONOMICEVENT, COMMITMENT> UnwindSafe for Fulfillment<ECONOMICEVENT, COMMITMENT> where
COMMITMENT: UnwindSafe,
ECONOMICEVENT: UnwindSafe,
COMMITMENT: 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>,