Struct vf_rs::vf::builders::ClaimBuilder
source · pub struct ClaimBuilder<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT> { /* private fields */ }
Expand description
Builder for Claim
.
Implementations§
source§impl<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT> ClaimBuilder<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT>
impl<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT> ClaimBuilder<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT>
sourcepub fn action<VALUE: Into<Action>>(self, value: VALUE) -> Self
pub fn action<VALUE: Into<Action>>(self, value: VALUE) -> Self
Defines the kind of flow, such as consume, produce, work, transfer, etc.
pub fn created<VALUE: Into<Option<DateTime<Utc>>>>(self, value: VALUE) -> Self
sourcepub fn due<VALUE: Into<Option<DateTime<Utc>>>>(self, value: VALUE) -> Self
pub fn due<VALUE: Into<Option<DateTime<Utc>>>>(self, value: VALUE) -> Self
The time something is expected to be complete.
sourcepub fn effort_quantity<VALUE: Into<Option<Measure>>>(self, value: VALUE) -> Self
pub fn effort_quantity<VALUE: Into<Option<Measure>>>(self, value: VALUE) -> Self
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.
sourcepub fn finished<VALUE: Into<Option<bool>>>(self, value: VALUE) -> Self
pub fn finished<VALUE: Into<Option<bool>>>(self, value: VALUE) -> Self
The commitment or intent or process is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done.
sourcepub fn in_scope_of<VALUE: Into<Vec<AGENT>>>(self, value: VALUE) -> Self
pub fn in_scope_of<VALUE: Into<Vec<AGENT>>>(self, value: VALUE) -> Self
In the context of an agent, a grouping generally used for accounting, reporting.
pub fn note<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
sourcepub fn provider<VALUE: Into<AGENT>>(self, value: VALUE) -> Self
pub fn provider<VALUE: Into<AGENT>>(self, value: VALUE) -> Self
The economic agent from whom the intended, committed, or actual economic event is initiated.
sourcepub fn receiver<VALUE: Into<AGENT>>(self, value: VALUE) -> Self
pub fn receiver<VALUE: Into<AGENT>>(self, value: VALUE) -> Self
The economic agent whom the intended, committed, or actual economic event is for.
sourcepub fn resource_classified_as<VALUE: Into<Vec<RESOURCECLASSIFIEDAS>>>(
self,
value: VALUE
) -> Self
pub fn resource_classified_as<VALUE: Into<Vec<RESOURCECLASSIFIEDAS>>>( self, value: VALUE ) -> Self
References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.
sourcepub fn resource_conforms_to<VALUE: Into<Option<RESOURCESPECIFICATION>>>(
self,
value: VALUE
) -> Self
pub fn resource_conforms_to<VALUE: Into<Option<RESOURCESPECIFICATION>>>( self, value: VALUE ) -> Self
The primary resource specification or definition of an existing or potential economic resource. A resource will have only one, as this specifies exactly what the resource is.
sourcepub fn resource_quantity<VALUE: Into<Option<Measure>>>(
self,
value: VALUE
) -> Self
pub fn resource_quantity<VALUE: Into<Option<Measure>>>( self, value: VALUE ) -> Self
The amount and unit of the economic resource counted or inventoried.
sourcepub fn triggered_by<VALUE: Into<ECONOMICEVENT>>(self, value: VALUE) -> Self
pub fn triggered_by<VALUE: Into<ECONOMICEVENT>>(self, value: VALUE) -> Self
References an economic event that implied the claim or event, often based on a prior agreement.