[−][src]Struct vf_rs::vf::Claim
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.
ID: https://w3id.org/valueflows#Claim
Implementations
impl<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT>
[src]
pub fn action(&self) -> &Action
[src]
Defines the kind of flow, such as consume, produce, work, transfer, etc.
pub fn agreed_in(&self) -> &Option<Url>
[src]
Reference to an agreement between agents which specifies the rules, terms, policies, calculations, etc. which govern this flow.
pub fn created(&self) -> &Option<DateTime<Utc>>
[src]
pub fn due(&self) -> &Option<DateTime<Utc>>
[src]
The time something is expected to be complete.
pub fn effort_quantity(&self) -> &Option<Measure>
[src]
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.
pub fn finished(&self) -> &Option<bool>
[src]
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.
pub fn in_scope_of(&self) -> &Vec<Url>
[src]
Grouping around something to create a boundary or context, used for documenting, accounting, planning.
pub fn note(&self) -> &Option<String>
[src]
pub fn provider(&self) -> &AGENT
[src]
The economic agent from whom the intended, committed, or actual economic event is initiated.
pub fn receiver(&self) -> &AGENT
[src]
The economic agent whom the intended, committed, or actual economic event is for.
pub fn resource_classified_as(&self) -> &Vec<Url>
[src]
References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.
pub fn resource_conforms_to(&self) -> &Option<RESOURCESPECIFICATION>
[src]
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.
pub fn resource_quantity(&self) -> &Option<Measure>
[src]
The amount and unit of the economic resource counted or inventoried.
pub fn triggered_by(&self) -> &ECONOMICEVENT
[src]
References an economic event that implied the claim or event, often based on a prior agreement.
impl<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT>
[src]
pub fn set_action(&mut self, val: Action) -> &mut Self
[src]
Defines the kind of flow, such as consume, produce, work, transfer, etc.
pub fn set_agreed_in(&mut self, val: Option<Url>) -> &mut Self
[src]
Reference to an agreement between agents which specifies the rules, terms, policies, calculations, etc. which govern this flow.
pub fn set_created(&mut self, val: Option<DateTime<Utc>>) -> &mut Self
[src]
pub fn set_due(&mut self, val: Option<DateTime<Utc>>) -> &mut Self
[src]
The time something is expected to be complete.
pub fn set_effort_quantity(&mut self, val: Option<Measure>) -> &mut Self
[src]
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.
pub fn set_finished(&mut self, val: Option<bool>) -> &mut Self
[src]
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.
pub fn set_in_scope_of(&mut self, val: Vec<Url>) -> &mut Self
[src]
Grouping around something to create a boundary or context, used for documenting, accounting, planning.
pub fn set_note(&mut self, val: Option<String>) -> &mut Self
[src]
pub fn set_provider(&mut self, val: AGENT) -> &mut Self
[src]
The economic agent from whom the intended, committed, or actual economic event is initiated.
pub fn set_receiver(&mut self, val: AGENT) -> &mut Self
[src]
The economic agent whom the intended, committed, or actual economic event is for.
pub fn set_resource_classified_as(&mut self, val: Vec<Url>) -> &mut Self
[src]
References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.
pub fn set_resource_conforms_to(
&mut self,
val: Option<RESOURCESPECIFICATION>
) -> &mut Self
[src]
&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.
pub fn set_resource_quantity(&mut self, val: Option<Measure>) -> &mut Self
[src]
The amount and unit of the economic resource counted or inventoried.
pub fn set_triggered_by(&mut self, val: ECONOMICEVENT) -> &mut Self
[src]
References an economic event that implied the claim or event, often based on a prior agreement.
impl<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT>
[src]
pub fn action_mut(&mut self) -> &mut Action
[src]
Defines the kind of flow, such as consume, produce, work, transfer, etc.
pub fn agreed_in_mut(&mut self) -> &mut Option<Url>
[src]
Reference to an agreement between agents which specifies the rules, terms, policies, calculations, etc. which govern this flow.
pub fn created_mut(&mut self) -> &mut Option<DateTime<Utc>>
[src]
pub fn due_mut(&mut self) -> &mut Option<DateTime<Utc>>
[src]
The time something is expected to be complete.
pub fn effort_quantity_mut(&mut self) -> &mut Option<Measure>
[src]
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.
pub fn finished_mut(&mut self) -> &mut Option<bool>
[src]
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.
pub fn in_scope_of_mut(&mut self) -> &mut Vec<Url>
[src]
Grouping around something to create a boundary or context, used for documenting, accounting, planning.
pub fn note_mut(&mut self) -> &mut Option<String>
[src]
pub fn provider_mut(&mut self) -> &mut AGENT
[src]
The economic agent from whom the intended, committed, or actual economic event is initiated.
pub fn receiver_mut(&mut self) -> &mut AGENT
[src]
The economic agent whom the intended, committed, or actual economic event is for.
pub fn resource_classified_as_mut(&mut self) -> &mut Vec<Url>
[src]
References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.
pub fn resource_conforms_to_mut(&mut self) -> &mut Option<RESOURCESPECIFICATION>
[src]
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.
pub fn resource_quantity_mut(&mut self) -> &mut Option<Measure>
[src]
The amount and unit of the economic resource counted or inventoried.
pub fn triggered_by_mut(&mut self) -> &mut ECONOMICEVENT
[src]
References an economic event that implied the claim or event, often based on a prior agreement.
impl<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT>
[src]
pub fn builder() -> ClaimBuilder<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT>
[src]
Create an empty builder object for Claim
pub fn into_builder(
self
) -> ClaimBuilder<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT>
[src]
self
) -> ClaimBuilder<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT>
Turns Claim into ClaimBuilder
Trait Implementations
impl<AGENT: Clone, RESOURCESPECIFICATION: Clone, ECONOMICEVENT: Clone> Clone for Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT>
[src]
fn clone(&self) -> Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<AGENT: Debug, RESOURCESPECIFICATION: Debug, ECONOMICEVENT: Debug> Debug for Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT>
[src]
impl<'de, AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> Deserialize<'de> for Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> where
AGENT: Deserialize<'de>,
RESOURCESPECIFICATION: Deserialize<'de>,
ECONOMICEVENT: Deserialize<'de>,
[src]
AGENT: Deserialize<'de>,
RESOURCESPECIFICATION: Deserialize<'de>,
ECONOMICEVENT: Deserialize<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl<AGENT: PartialEq, RESOURCESPECIFICATION: PartialEq, ECONOMICEVENT: PartialEq> PartialEq<Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT>> for Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT>
[src]
fn eq(&self, other: &Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT>) -> bool
[src]
fn ne(&self, other: &Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT>) -> bool
[src]
impl<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> Serialize for Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> where
AGENT: Serialize,
RESOURCESPECIFICATION: Serialize,
ECONOMICEVENT: Serialize,
[src]
AGENT: Serialize,
RESOURCESPECIFICATION: Serialize,
ECONOMICEVENT: Serialize,
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> StructuralPartialEq for Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT>
[src]
Auto Trait Implementations
impl<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> RefUnwindSafe for Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> where
AGENT: RefUnwindSafe,
ECONOMICEVENT: RefUnwindSafe,
RESOURCESPECIFICATION: RefUnwindSafe,
AGENT: RefUnwindSafe,
ECONOMICEVENT: RefUnwindSafe,
RESOURCESPECIFICATION: RefUnwindSafe,
impl<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> Send for Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> where
AGENT: Send,
ECONOMICEVENT: Send,
RESOURCESPECIFICATION: Send,
AGENT: Send,
ECONOMICEVENT: Send,
RESOURCESPECIFICATION: Send,
impl<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> Sync for Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> where
AGENT: Sync,
ECONOMICEVENT: Sync,
RESOURCESPECIFICATION: Sync,
AGENT: Sync,
ECONOMICEVENT: Sync,
RESOURCESPECIFICATION: Sync,
impl<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> Unpin for Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> where
AGENT: Unpin,
ECONOMICEVENT: Unpin,
RESOURCESPECIFICATION: Unpin,
AGENT: Unpin,
ECONOMICEVENT: Unpin,
RESOURCESPECIFICATION: Unpin,
impl<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> UnwindSafe for Claim<AGENT, RESOURCESPECIFICATION, ECONOMICEVENT> where
AGENT: UnwindSafe,
ECONOMICEVENT: UnwindSafe,
RESOURCESPECIFICATION: UnwindSafe,
AGENT: UnwindSafe,
ECONOMICEVENT: UnwindSafe,
RESOURCESPECIFICATION: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,