[−][src]Struct vf_rs::vf::builders::SatisfactionBuilder
Builder for Satisfaction
.
Implementations
impl<COMMITMENT, ECONOMICEVENT, INTENT> SatisfactionBuilder<COMMITMENT, ECONOMICEVENT, INTENT>
[src]
pub fn effort_quantity<VALUE: Into<Measure>>(self, value: VALUE) -> 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 note<VALUE: Into<String>>(self, value: VALUE) -> Self
[src]
pub fn resource_quantity<VALUE: Into<Measure>>(self, value: VALUE) -> Self
[src]
The amount and unit of the economic resource counted or inventoried.
pub fn satisfied_by<VALUE: Into<CommitmentEconomicEventUnion<COMMITMENT, ECONOMICEVENT>>>(
self,
value: VALUE
) -> Self
[src]
self,
value: VALUE
) -> Self
A commitment or economic event fully or partially satisfying an intent
pub fn satisfies<VALUE: Into<INTENT>>(self, value: VALUE) -> Self
[src]
An intent satisfied fully or partially by an economic event or commitment.
pub fn build(
self
) -> Result<Satisfaction<COMMITMENT, ECONOMICEVENT, INTENT>, String>
[src]
self
) -> Result<Satisfaction<COMMITMENT, ECONOMICEVENT, INTENT>, String>
Trait Implementations
impl<COMMITMENT: Default, ECONOMICEVENT: Default, INTENT: Default> Default for SatisfactionBuilder<COMMITMENT, ECONOMICEVENT, INTENT>
[src]
fn default() -> SatisfactionBuilder<COMMITMENT, ECONOMICEVENT, INTENT>
[src]
Auto Trait Implementations
impl<COMMITMENT, ECONOMICEVENT, INTENT> RefUnwindSafe for SatisfactionBuilder<COMMITMENT, ECONOMICEVENT, INTENT> where
COMMITMENT: RefUnwindSafe,
ECONOMICEVENT: RefUnwindSafe,
INTENT: RefUnwindSafe,
COMMITMENT: RefUnwindSafe,
ECONOMICEVENT: RefUnwindSafe,
INTENT: RefUnwindSafe,
impl<COMMITMENT, ECONOMICEVENT, INTENT> Send for SatisfactionBuilder<COMMITMENT, ECONOMICEVENT, INTENT> where
COMMITMENT: Send,
ECONOMICEVENT: Send,
INTENT: Send,
COMMITMENT: Send,
ECONOMICEVENT: Send,
INTENT: Send,
impl<COMMITMENT, ECONOMICEVENT, INTENT> Sync for SatisfactionBuilder<COMMITMENT, ECONOMICEVENT, INTENT> where
COMMITMENT: Sync,
ECONOMICEVENT: Sync,
INTENT: Sync,
COMMITMENT: Sync,
ECONOMICEVENT: Sync,
INTENT: Sync,
impl<COMMITMENT, ECONOMICEVENT, INTENT> Unpin for SatisfactionBuilder<COMMITMENT, ECONOMICEVENT, INTENT> where
COMMITMENT: Unpin,
ECONOMICEVENT: Unpin,
INTENT: Unpin,
COMMITMENT: Unpin,
ECONOMICEVENT: Unpin,
INTENT: Unpin,
impl<COMMITMENT, ECONOMICEVENT, INTENT> UnwindSafe for SatisfactionBuilder<COMMITMENT, ECONOMICEVENT, INTENT> where
COMMITMENT: UnwindSafe,
ECONOMICEVENT: UnwindSafe,
INTENT: UnwindSafe,
COMMITMENT: UnwindSafe,
ECONOMICEVENT: UnwindSafe,
INTENT: 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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,