[−][src]Struct vf_rs::economic_event::EconomicEvent
An observed economic flow, as opposed to a flow planned to happen in the future. It could reflect a change in the quantity of an economic resource. It is also defined by its behavior in relation to the economic resource.
ID: https://raw.githubusercontent.com/valueflows/valueflows/master/json-schemas/EconomicEvent.json
Fields
action: String
Relates an economic event to a verb, such as consume, produce, work, improve, etc.
agreed_in: Option<Url>
Reference to an agreement between agents which specifies the rules or policies or calculations which govern this economic event.
at_location: Option<Box<SpatialThing>>
The place where an economic event occurs. Usually mappable.
effort_quantity: Option<Box<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.
has_beginning: Option<DateTime<Utc>>
The beginning of the economic event.
has_end: Option<DateTime<Utc>>
The end of the economic event.
has_point_in_time: Option<DateTime<Utc>>
The date/time at which the economic event occurred. Can be used instead of beginning and end.
in_scope_of: Option<Box<Agent>>
Grouping around something to create a boundary or context, used for documenting, accounting, planning.
input_of: Option<Box<Process>>
Defines the process to which this event is an input.
note: Option<String>
A textual comment or description.
output_of: Option<Box<Process>>
Defines the process for which this event is an output.
provider: Option<Box<Agent>>
The economic agent from whom the economic event is initiated.
realization_of: Option<Box<Agreement>>
This economic event occurs as part of this agreement.
receiver: Option<Box<Agent>>
The economic agent whom the economic event is for.
resource_classified_as: Vec<Url>
References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.
resource_conforms_to: Option<Box<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.
resource_inventoried_as: Option<Box<EconomicResource>>
Economic resource involved in the economic event.
resource_quantity: Option<Box<Measure>>
The amount and unit of the economic resource counted or inventoried. This is the quantity that could be used to increment or decrement a resource, depending on the type of resource and resource effect of action.
to_resource_inventoried_as: Option<Box<EconomicResource>>
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.
triggered_by: Option<Box<EconomicEvent>>
References another economic event that implied this economic event, often based on a prior agreement.
Methods
impl EconomicEvent
[src]
pub fn into_builder(self) -> EconomicEventBuilder
[src]
Turns EconomicEvent into EconomicEventBuilder
Trait Implementations
impl Clone for EconomicEvent
[src]
fn clone(&self) -> EconomicEvent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for EconomicEvent
[src]
impl<'de> Deserialize<'de> for EconomicEvent
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<EconomicEvent> for EconomicEvent
[src]
fn eq(&self, other: &EconomicEvent) -> bool
[src]
fn ne(&self, other: &EconomicEvent) -> bool
[src]
impl Serialize for EconomicEvent
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for EconomicEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for EconomicEvent
impl Send for EconomicEvent
impl Sync for EconomicEvent
impl Unpin for EconomicEvent
impl UnwindSafe for EconomicEvent
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: Deserialize<'de>,
[src]
T: 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>,