pub struct Intent<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE> { /* private fields */ }
Expand description
A proposed or planned or estimated economic flow, prior to a commitment or agreement, which can lead to commitments and/or economic events.
Implementations§
source§impl<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE> Intent<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE>
impl<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE> Intent<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE>
sourcepub fn action_mut(&mut self) -> &mut Action
pub fn action_mut(&mut self) -> &mut Action
Defines the kind of flow, such as consume, produce, work, transfer, etc.
sourcepub fn at_location_mut(&mut self) -> &mut Option<SpatialThing>
pub fn at_location_mut(&mut self) -> &mut Option<SpatialThing>
The place where an intent, commitment, or economic event occurs. Usually mappable.
sourcepub fn available_quantity_mut(&mut self) -> &mut Option<Measure>
pub fn available_quantity_mut(&mut self) -> &mut Option<Measure>
The quantity of the offered resource currently available.
sourcepub fn due_mut(&mut self) -> &mut Option<DateTime<Utc>>
pub fn due_mut(&mut self) -> &mut Option<DateTime<Utc>>
The time something is expected to be complete.
sourcepub fn effort_quantity_mut(&mut self) -> &mut Option<Measure>
pub fn effort_quantity_mut(&mut self) -> &mut Option<Measure>
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_mut(&mut self) -> &mut Option<bool>
pub fn finished_mut(&mut self) -> &mut Option<bool>
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_mut(&mut self) -> &mut Option<DateTime<Utc>>
pub fn has_beginning_mut(&mut self) -> &mut Option<DateTime<Utc>>
The planned or actual beginning of a flow or process.
sourcepub fn has_end_mut(&mut self) -> &mut Option<DateTime<Utc>>
pub fn has_end_mut(&mut self) -> &mut Option<DateTime<Utc>>
The planned or actual end of a flow or process.
sourcepub fn has_point_in_time_mut(&mut self) -> &mut Option<DateTime<Utc>>
pub fn has_point_in_time_mut(&mut self) -> &mut Option<DateTime<Utc>>
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_mut(&mut self) -> &mut Option<Url>
pub fn image_mut(&mut self) -> &mut Option<Url>
The uri to an image relevant to the entity, such as a logo, avatar, photo, diagram, etc.
sourcepub fn image_list_mut(&mut self) -> &mut Option<Url>
pub fn image_list_mut(&mut self) -> &mut Option<Url>
A comma separated list of uri addresses to images relevant to the resource.
sourcepub fn in_scope_of_mut(&mut self) -> &mut Vec<AGENT>
pub fn in_scope_of_mut(&mut self) -> &mut Vec<AGENT>
In the context of an agent, a grouping generally used for accounting, reporting.
sourcepub fn input_of_mut(&mut self) -> &mut Option<PROCESS>
pub fn input_of_mut(&mut self) -> &mut Option<PROCESS>
Relates an input flow to its process.
sourcepub fn minimum_quantity_mut(&mut self) -> &mut Option<Measure>
pub fn minimum_quantity_mut(&mut self) -> &mut Option<Measure>
The minimum required order quantity of the offered resource.
pub fn note_mut(&mut self) -> &mut Option<String>
sourcepub fn output_of_mut(&mut self) -> &mut Option<PROCESS>
pub fn output_of_mut(&mut self) -> &mut Option<PROCESS>
Relates an output flow to its process.
sourcepub fn planned_within_mut(&mut self) -> &mut Option<PLAN>
pub fn planned_within_mut(&mut self) -> &mut Option<PLAN>
The non-process commitment/intent or process with its inputs and outputs is part of the plan.
sourcepub fn provider_mut(&mut self) -> &mut Option<AGENT>
pub fn provider_mut(&mut self) -> &mut Option<AGENT>
The economic agent from whom the intended, committed, or actual economic event is initiated.
sourcepub fn receiver_mut(&mut self) -> &mut Option<AGENT>
pub fn receiver_mut(&mut self) -> &mut Option<AGENT>
The economic agent whom the intended, committed, or actual economic event is for.
sourcepub fn resource_classified_as_mut(&mut self) -> &mut Vec<RESOURCECLASSIFIEDAS>
pub fn resource_classified_as_mut(&mut self) -> &mut Vec<RESOURCECLASSIFIEDAS>
References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.
sourcepub fn resource_conforms_to_mut(&mut self) -> &mut Option<RESOURCESPECIFICATION>
pub fn resource_conforms_to_mut(&mut self) -> &mut Option<RESOURCESPECIFICATION>
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_mut(&mut self) -> &mut Option<ECONOMICRESOURCE>
pub fn resource_inventoried_as_mut(&mut self) -> &mut Option<ECONOMICRESOURCE>
Economic resource involved in the flow.
sourcepub fn resource_quantity_mut(&mut self) -> &mut Option<Measure>
pub fn resource_quantity_mut(&mut self) -> &mut Option<Measure>
The amount and unit of the economic resource counted or inventoried.
source§impl<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE> Intent<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE>
impl<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE> Intent<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE>
sourcepub fn set_action(&mut self, val: Action) -> &mut Self
pub fn set_action(&mut self, val: Action) -> &mut Self
Defines the kind of flow, such as consume, produce, work, transfer, etc.
sourcepub fn set_at_location(&mut self, val: Option<SpatialThing>) -> &mut Self
pub fn set_at_location(&mut self, val: Option<SpatialThing>) -> &mut Self
The place where an intent, commitment, or economic event occurs. Usually mappable.
sourcepub fn set_available_quantity(&mut self, val: Option<Measure>) -> &mut Self
pub fn set_available_quantity(&mut self, val: Option<Measure>) -> &mut Self
The quantity of the offered resource currently available.
sourcepub fn set_due(&mut self, val: Option<DateTime<Utc>>) -> &mut Self
pub fn set_due(&mut self, val: Option<DateTime<Utc>>) -> &mut Self
The time something is expected to be complete.
sourcepub fn set_effort_quantity(&mut self, val: Option<Measure>) -> &mut Self
pub fn set_effort_quantity(&mut self, val: Option<Measure>) -> &mut 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 set_finished(&mut self, val: Option<bool>) -> &mut Self
pub fn set_finished(&mut self, val: Option<bool>) -> &mut 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 set_has_beginning(&mut self, val: Option<DateTime<Utc>>) -> &mut Self
pub fn set_has_beginning(&mut self, val: Option<DateTime<Utc>>) -> &mut Self
The planned or actual beginning of a flow or process.
sourcepub fn set_has_end(&mut self, val: Option<DateTime<Utc>>) -> &mut Self
pub fn set_has_end(&mut self, val: Option<DateTime<Utc>>) -> &mut Self
The planned or actual end of a flow or process.
sourcepub fn set_has_point_in_time(&mut self, val: Option<DateTime<Utc>>) -> &mut Self
pub fn set_has_point_in_time(&mut self, val: Option<DateTime<Utc>>) -> &mut 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 set_image(&mut self, val: Option<Url>) -> &mut Self
pub fn set_image(&mut self, val: Option<Url>) -> &mut Self
The uri to an image relevant to the entity, such as a logo, avatar, photo, diagram, etc.
sourcepub fn set_image_list(&mut self, val: Option<Url>) -> &mut Self
pub fn set_image_list(&mut self, val: Option<Url>) -> &mut Self
A comma separated list of uri addresses to images relevant to the resource.
sourcepub fn set_in_scope_of(&mut self, val: Vec<AGENT>) -> &mut Self
pub fn set_in_scope_of(&mut self, val: Vec<AGENT>) -> &mut Self
In the context of an agent, a grouping generally used for accounting, reporting.
sourcepub fn set_input_of(&mut self, val: Option<PROCESS>) -> &mut Self
pub fn set_input_of(&mut self, val: Option<PROCESS>) -> &mut Self
Relates an input flow to its process.
sourcepub fn set_minimum_quantity(&mut self, val: Option<Measure>) -> &mut Self
pub fn set_minimum_quantity(&mut self, val: Option<Measure>) -> &mut Self
The minimum required order quantity of the offered resource.
pub fn set_note(&mut self, val: Option<String>) -> &mut Self
sourcepub fn set_output_of(&mut self, val: Option<PROCESS>) -> &mut Self
pub fn set_output_of(&mut self, val: Option<PROCESS>) -> &mut Self
Relates an output flow to its process.
sourcepub fn set_planned_within(&mut self, val: Option<PLAN>) -> &mut Self
pub fn set_planned_within(&mut self, val: Option<PLAN>) -> &mut Self
The non-process commitment/intent or process with its inputs and outputs is part of the plan.
sourcepub fn set_provider(&mut self, val: Option<AGENT>) -> &mut Self
pub fn set_provider(&mut self, val: Option<AGENT>) -> &mut Self
The economic agent from whom the intended, committed, or actual economic event is initiated.
sourcepub fn set_receiver(&mut self, val: Option<AGENT>) -> &mut Self
pub fn set_receiver(&mut self, val: Option<AGENT>) -> &mut Self
The economic agent whom the intended, committed, or actual economic event is for.
sourcepub fn set_resource_classified_as(
&mut self,
val: Vec<RESOURCECLASSIFIEDAS>
) -> &mut Self
pub fn set_resource_classified_as( &mut self, val: Vec<RESOURCECLASSIFIEDAS> ) -> &mut Self
References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.
sourcepub fn set_resource_conforms_to(
&mut self,
val: Option<RESOURCESPECIFICATION>
) -> &mut Self
pub fn set_resource_conforms_to( &mut self, val: Option<RESOURCESPECIFICATION> ) -> &mut 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 set_resource_inventoried_as(
&mut self,
val: Option<ECONOMICRESOURCE>
) -> &mut Self
pub fn set_resource_inventoried_as( &mut self, val: Option<ECONOMICRESOURCE> ) -> &mut Self
Economic resource involved in the flow.
sourcepub fn set_resource_quantity(&mut self, val: Option<Measure>) -> &mut Self
pub fn set_resource_quantity(&mut self, val: Option<Measure>) -> &mut Self
The amount and unit of the economic resource counted or inventoried.
source§impl<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE> Intent<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE>
impl<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE> Intent<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE>
sourcepub fn action(&self) -> &Action
pub fn action(&self) -> &Action
Defines the kind of flow, such as consume, produce, work, transfer, etc.
sourcepub fn at_location(&self) -> &Option<SpatialThing>
pub fn at_location(&self) -> &Option<SpatialThing>
The place where an intent, commitment, or economic event occurs. Usually mappable.
sourcepub fn available_quantity(&self) -> &Option<Measure>
pub fn available_quantity(&self) -> &Option<Measure>
The quantity of the offered resource currently available.
sourcepub fn effort_quantity(&self) -> &Option<Measure>
pub fn effort_quantity(&self) -> &Option<Measure>
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(&self) -> &Option<bool>
pub fn finished(&self) -> &Option<bool>
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(&self) -> &Option<DateTime<Utc>>
pub fn has_beginning(&self) -> &Option<DateTime<Utc>>
The planned or actual beginning of a flow or process.
sourcepub fn has_end(&self) -> &Option<DateTime<Utc>>
pub fn has_end(&self) -> &Option<DateTime<Utc>>
The planned or actual end of a flow or process.
sourcepub fn has_point_in_time(&self) -> &Option<DateTime<Utc>>
pub fn has_point_in_time(&self) -> &Option<DateTime<Utc>>
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(&self) -> &Option<Url>
pub fn image(&self) -> &Option<Url>
The uri to an image relevant to the entity, such as a logo, avatar, photo, diagram, etc.
sourcepub fn image_list(&self) -> &Option<Url>
pub fn image_list(&self) -> &Option<Url>
A comma separated list of uri addresses to images relevant to the resource.
sourcepub fn in_scope_of(&self) -> &Vec<AGENT>
pub fn in_scope_of(&self) -> &Vec<AGENT>
In the context of an agent, a grouping generally used for accounting, reporting.
sourcepub fn minimum_quantity(&self) -> &Option<Measure>
pub fn minimum_quantity(&self) -> &Option<Measure>
The minimum required order quantity of the offered resource.
pub fn note(&self) -> &Option<String>
sourcepub fn planned_within(&self) -> &Option<PLAN>
pub fn planned_within(&self) -> &Option<PLAN>
The non-process commitment/intent or process with its inputs and outputs is part of the plan.
sourcepub fn provider(&self) -> &Option<AGENT>
pub fn provider(&self) -> &Option<AGENT>
The economic agent from whom the intended, committed, or actual economic event is initiated.
sourcepub fn receiver(&self) -> &Option<AGENT>
pub fn receiver(&self) -> &Option<AGENT>
The economic agent whom the intended, committed, or actual economic event is for.
sourcepub fn resource_classified_as(&self) -> &Vec<RESOURCECLASSIFIEDAS>
pub fn resource_classified_as(&self) -> &Vec<RESOURCECLASSIFIEDAS>
References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.
sourcepub fn resource_conforms_to(&self) -> &Option<RESOURCESPECIFICATION>
pub fn resource_conforms_to(&self) -> &Option<RESOURCESPECIFICATION>
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(&self) -> &Option<ECONOMICRESOURCE>
pub fn resource_inventoried_as(&self) -> &Option<ECONOMICRESOURCE>
Economic resource involved in the flow.
sourcepub fn resource_quantity(&self) -> &Option<Measure>
pub fn resource_quantity(&self) -> &Option<Measure>
The amount and unit of the economic resource counted or inventoried.
source§impl<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE> Intent<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE>
impl<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE> Intent<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE>
sourcepub fn builder(
) -> IntentBuilder<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE>
pub fn builder( ) -> IntentBuilder<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE>
Create an empty builder object for Intent
sourcepub fn into_builder(
self
) -> IntentBuilder<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE>
pub fn into_builder( self ) -> IntentBuilder<AGENT, PROCESS, PLAN, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICRESOURCE>
Turns Intent into IntentBuilder