Struct vf_rs::vf::builders::EconomicEventBuilder
source · pub struct EconomicEventBuilder<ECONOMICEVENT, COMMITMENT, AGENT, PROCESS, AGREEMENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE, INTENT, CLAIM> { /* private fields */ }
Expand description
Builder for EconomicEvent
.
Implementations§
source§impl<ECONOMICEVENT, COMMITMENT, AGENT, PROCESS, AGREEMENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE, INTENT, CLAIM> EconomicEventBuilder<ECONOMICEVENT, COMMITMENT, AGENT, PROCESS, AGREEMENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE, INTENT, CLAIM>
impl<ECONOMICEVENT, COMMITMENT, AGENT, PROCESS, AGREEMENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE, INTENT, CLAIM> EconomicEventBuilder<ECONOMICEVENT, COMMITMENT, AGENT, PROCESS, AGREEMENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE, INTENT, CLAIM>
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.
sourcepub fn at_location<VALUE: Into<Option<SpatialThing>>>(
self,
value: VALUE
) -> Self
pub fn at_location<VALUE: Into<Option<SpatialThing>>>( self, value: VALUE ) -> Self
The place where an intent, commitment, or economic event occurs. Usually mappable.
sourcepub fn corrects<VALUE: Into<Option<ECONOMICEVENT>>>(self, value: VALUE) -> Self
pub fn corrects<VALUE: Into<Option<ECONOMICEVENT>>>(self, value: VALUE) -> Self
Used when an event was entered incorrectly and needs to be backed out or corrected. (The initial event cannot be changed.)
pub fn created<VALUE: Into<Option<DateTime<Utc>>>>(self, value: VALUE) -> Self
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 fulfills<VALUE: Into<Option<COMMITMENT>>>(self, value: VALUE) -> Self
pub fn fulfills<VALUE: Into<Option<COMMITMENT>>>(self, value: VALUE) -> Self
The commitment which is completely or partially fulfilled by an economic event.
sourcepub fn has_beginning<VALUE: Into<Option<DateTime<Utc>>>>(
self,
value: VALUE
) -> Self
pub fn has_beginning<VALUE: Into<Option<DateTime<Utc>>>>( self, value: VALUE ) -> Self
The planned or actual beginning of a flow or process.
sourcepub fn has_end<VALUE: Into<Option<DateTime<Utc>>>>(self, value: VALUE) -> Self
pub fn has_end<VALUE: Into<Option<DateTime<Utc>>>>(self, value: VALUE) -> Self
The planned or actual end of a flow or process.
sourcepub fn has_point_in_time<VALUE: Into<Option<DateTime<Utc>>>>(
self,
value: VALUE
) -> Self
pub fn has_point_in_time<VALUE: Into<Option<DateTime<Utc>>>>( self, value: VALUE ) -> Self
The planned or actual time of a flow; can be used instead of hasBeginning and hasEnd, if so, hasBeginning and hasEnd should be able to be returned with this value.
sourcepub fn image<VALUE: Into<Option<Url>>>(self, value: VALUE) -> Self
pub fn image<VALUE: Into<Option<Url>>>(self, value: VALUE) -> Self
The uri to an image relevant to the entity, such as a logo, avatar, photo, diagram, etc.
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.
sourcepub fn input_of<VALUE: Into<Option<PROCESS>>>(self, value: VALUE) -> Self
pub fn input_of<VALUE: Into<Option<PROCESS>>>(self, value: VALUE) -> Self
Relates an input flow to its process.
pub fn note<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
sourcepub fn output_of<VALUE: Into<Option<PROCESS>>>(self, value: VALUE) -> Self
pub fn output_of<VALUE: Into<Option<PROCESS>>>(self, value: VALUE) -> Self
Relates an output flow to its process.
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 realization_of<VALUE: Into<Option<AGREEMENT>>>(
self,
value: VALUE
) -> Self
pub fn realization_of<VALUE: Into<Option<AGREEMENT>>>( self, value: VALUE ) -> Self
This non-reciprocal economic event occurs as part of this agreement.
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 reciprocal_realization_of<VALUE: Into<Option<AGREEMENT>>>(
self,
value: VALUE
) -> Self
pub fn reciprocal_realization_of<VALUE: Into<Option<AGREEMENT>>>( self, value: VALUE ) -> Self
This reciprocal economic event occurs as part of this agreement.
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_inventoried_as<VALUE: Into<Option<ECONOMICRESOURCE>>>(
self,
value: VALUE
) -> Self
pub fn resource_inventoried_as<VALUE: Into<Option<ECONOMICRESOURCE>>>( self, value: VALUE ) -> Self
Economic resource involved in the flow.
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 satisfies<VALUE: Into<Option<INTENT>>>(self, value: VALUE) -> Self
pub fn satisfies<VALUE: Into<Option<INTENT>>>(self, value: VALUE) -> Self
An intent satisfied fully or partially by an economic event or commitment.
sourcepub fn settles<VALUE: Into<Option<CLAIM>>>(self, value: VALUE) -> Self
pub fn settles<VALUE: Into<Option<CLAIM>>>(self, value: VALUE) -> Self
References a claim that is fully or partially settled by the economic event.
sourcepub fn state<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
pub fn state<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
The state of the desired economic resource, after coming out of a test or review process.
sourcepub fn to_location<VALUE: Into<Option<SpatialThing>>>(
self,
value: VALUE
) -> Self
pub fn to_location<VALUE: Into<Option<SpatialThing>>>( self, value: VALUE ) -> Self
The new location of the receiver resource.
sourcepub fn to_resource_inventoried_as<VALUE: Into<Option<ECONOMICRESOURCE>>>(
self,
value: VALUE
) -> Self
pub fn to_resource_inventoried_as<VALUE: Into<Option<ECONOMICRESOURCE>>>( self, value: VALUE ) -> Self
Additional economic resource on the economic event when needed by the receiver. Used when a transfer or move, or sometimes other actions, requires explicitly identifying an economic resource on the receiving side.
sourcepub fn triggered_by<VALUE: Into<Option<ECONOMICEVENT>>>(
self,
value: VALUE
) -> Self
pub fn triggered_by<VALUE: Into<Option<ECONOMICEVENT>>>( self, value: VALUE ) -> Self
References an economic event that implied the claim or event, often based on a prior agreement.