pub struct Claim<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT> { /* private fields */ }
Expand description
A claim for a future economic event(s) in reciprocity for an economic event that already occurred. For example, a claim for payment for goods received.
Implementations§
source§impl<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT> Claim<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT>
impl<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT> Claim<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT>
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.
pub fn created_mut(&mut self) -> &mut Option<DateTime<Utc>>
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 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.
pub fn note_mut(&mut self) -> &mut Option<String>
sourcepub fn provider_mut(&mut self) -> &mut AGENT
pub fn provider_mut(&mut self) -> &mut AGENT
The economic agent from whom the intended, committed, or actual economic event is initiated.
sourcepub fn receiver_mut(&mut self) -> &mut AGENT
pub fn receiver_mut(&mut self) -> &mut 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_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.
sourcepub fn triggered_by_mut(&mut self) -> &mut ECONOMICEVENT
pub fn triggered_by_mut(&mut self) -> &mut ECONOMICEVENT
References an economic event that implied the claim or event, often based on a prior agreement.
source§impl<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT> Claim<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT>
impl<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT> Claim<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT>
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.
pub fn set_created(&mut self, val: Option<DateTime<Utc>>) -> &mut Self
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_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.
pub fn set_note(&mut self, val: Option<String>) -> &mut Self
sourcepub fn set_provider(&mut self, val: AGENT) -> &mut Self
pub fn set_provider(&mut self, val: AGENT) -> &mut Self
The economic agent from whom the intended, committed, or actual economic event is initiated.
sourcepub fn set_receiver(&mut self, val: AGENT) -> &mut Self
pub fn set_receiver(&mut self, val: 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_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.
sourcepub fn set_triggered_by(&mut self, val: ECONOMICEVENT) -> &mut Self
pub fn set_triggered_by(&mut self, val: ECONOMICEVENT) -> &mut Self
References an economic event that implied the claim or event, often based on a prior agreement.
source§impl<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT> Claim<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT>
impl<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT> Claim<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT>
sourcepub fn action(&self) -> &Action
pub fn action(&self) -> &Action
Defines the kind of flow, such as consume, produce, work, transfer, etc.
pub fn created(&self) -> &Option<DateTime<Utc>>
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 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.
pub fn note(&self) -> &Option<String>
sourcepub fn provider(&self) -> &AGENT
pub fn provider(&self) -> &AGENT
The economic agent from whom the intended, committed, or actual economic event is initiated.
sourcepub fn receiver(&self) -> &AGENT
pub fn receiver(&self) -> &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_quantity(&self) -> &Option<Measure>
pub fn resource_quantity(&self) -> &Option<Measure>
The amount and unit of the economic resource counted or inventoried.
sourcepub fn triggered_by(&self) -> &ECONOMICEVENT
pub fn triggered_by(&self) -> &ECONOMICEVENT
References an economic event that implied the claim or event, often based on a prior agreement.
source§impl<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT> Claim<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT>
impl<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT> Claim<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT>
sourcepub fn builder(
) -> ClaimBuilder<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT>
pub fn builder( ) -> ClaimBuilder<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT>
Create an empty builder object for Claim
sourcepub fn into_builder(
self
) -> ClaimBuilder<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT>
pub fn into_builder( self ) -> ClaimBuilder<AGENT, RESOURCECLASSIFIEDAS, RESOURCESPECIFICATION, ECONOMICEVENT>
Turns Claim into ClaimBuilder