Struct vf_rs::vf::builders::IntentBuilder
source · pub struct IntentBuilder<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE> { /* private fields */ }
Expand description
Builder for Intent
.
Implementations§
source§impl<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE> IntentBuilder<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE>
impl<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE> IntentBuilder<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE>
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 available_quantity<VALUE: Into<Option<Measure>>>(
self,
value: VALUE
) -> Self
pub fn available_quantity<VALUE: Into<Option<Measure>>>( self, value: VALUE ) -> Self
The quantity of the offered resource currently available.
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 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 image_list<VALUE: Into<Option<Url>>>(self, value: VALUE) -> Self
pub fn image_list<VALUE: Into<Option<Url>>>(self, value: VALUE) -> Self
A comma separated list of uri addresses to images relevant to the resource.
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.
sourcepub fn minimum_quantity<VALUE: Into<Option<Measure>>>(
self,
value: VALUE
) -> Self
pub fn minimum_quantity<VALUE: Into<Option<Measure>>>( self, value: VALUE ) -> Self
The minimum required order quantity of the offered resource.
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 planned_within<VALUE: Into<Option<PLAN>>>(self, value: VALUE) -> Self
pub fn planned_within<VALUE: Into<Option<PLAN>>>(self, value: VALUE) -> Self
The non-process commitment/intent or process with its inputs and outputs is part of the plan.
sourcepub fn provider<VALUE: Into<Option<AGENT>>>(self, value: VALUE) -> Self
pub fn provider<VALUE: Into<Option<AGENT>>>(self, value: VALUE) -> Self
The economic agent from whom the intended, committed, or actual economic event is initiated.
sourcepub fn receiver<VALUE: Into<Option<AGENT>>>(self, value: VALUE) -> Self
pub fn receiver<VALUE: Into<Option<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_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.