[−][src]Struct vf_rs::vf::builders::SettlementBuilder
Builder for Settlement
.
Implementations
impl<ECONOMICEVENT, CLAIM> SettlementBuilder<ECONOMICEVENT, CLAIM>
[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 settled_by<VALUE: Into<ECONOMICEVENT>>(self, value: VALUE) -> Self
[src]
References an economic event that fully or partially settles the claim.
pub fn settles<VALUE: Into<CLAIM>>(self, value: VALUE) -> Self
[src]
References a claim that is fully or partially settled by the economic event.
pub fn build(self) -> Result<Settlement<ECONOMICEVENT, CLAIM>, String>
[src]
Trait Implementations
impl<ECONOMICEVENT: Default, CLAIM: Default> Default for SettlementBuilder<ECONOMICEVENT, CLAIM>
[src]
fn default() -> SettlementBuilder<ECONOMICEVENT, CLAIM>
[src]
Auto Trait Implementations
impl<ECONOMICEVENT, CLAIM> RefUnwindSafe for SettlementBuilder<ECONOMICEVENT, CLAIM> where
CLAIM: RefUnwindSafe,
ECONOMICEVENT: RefUnwindSafe,
CLAIM: RefUnwindSafe,
ECONOMICEVENT: RefUnwindSafe,
impl<ECONOMICEVENT, CLAIM> Send for SettlementBuilder<ECONOMICEVENT, CLAIM> where
CLAIM: Send,
ECONOMICEVENT: Send,
CLAIM: Send,
ECONOMICEVENT: Send,
impl<ECONOMICEVENT, CLAIM> Sync for SettlementBuilder<ECONOMICEVENT, CLAIM> where
CLAIM: Sync,
ECONOMICEVENT: Sync,
CLAIM: Sync,
ECONOMICEVENT: Sync,
impl<ECONOMICEVENT, CLAIM> Unpin for SettlementBuilder<ECONOMICEVENT, CLAIM> where
CLAIM: Unpin,
ECONOMICEVENT: Unpin,
CLAIM: Unpin,
ECONOMICEVENT: Unpin,
impl<ECONOMICEVENT, CLAIM> UnwindSafe for SettlementBuilder<ECONOMICEVENT, CLAIM> where
CLAIM: UnwindSafe,
ECONOMICEVENT: UnwindSafe,
CLAIM: 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> 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>,