[−][src]Struct vf_rs::economic_event::EconomicEventBuilder
Builder for EconomicEvent
.
Methods
impl EconomicEventBuilder
[src]
pub fn action(self, value: String) -> Self
[src]
Relates an economic event to a verb, such as consume, produce, work, improve, etc.
pub fn agreed_in<VALUE: Into<Url>>(self, value: VALUE) -> Self
[src]
Reference to an agreement between agents which specifies the rules or policies or calculations which govern this economic event.
pub fn at_location<VALUE: Into<Box<SpatialThing>>>(self, value: VALUE) -> Self
[src]
The place where an economic event occurs. Usually mappable.
pub fn effort_quantity<VALUE: Into<Box<Measure>>>(self, value: VALUE) -> 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 has_beginning<VALUE: Into<DateTime<Utc>>>(self, value: VALUE) -> Self
[src]
The beginning of the economic event.
pub fn has_end<VALUE: Into<DateTime<Utc>>>(self, value: VALUE) -> Self
[src]
The end of the economic event.
pub fn has_point_in_time<VALUE: Into<DateTime<Utc>>>(self, value: VALUE) -> Self
[src]
The date/time at which the economic event occurred. Can be used instead of beginning and end.
pub fn in_scope_of<VALUE: Into<Box<Agent>>>(self, value: VALUE) -> Self
[src]
Grouping around something to create a boundary or context, used for documenting, accounting, planning.
pub fn input_of<VALUE: Into<Box<Process>>>(self, value: VALUE) -> Self
[src]
Defines the process to which this event is an input.
pub fn note<VALUE: Into<String>>(self, value: VALUE) -> Self
[src]
A textual comment or description.
pub fn output_of<VALUE: Into<Box<Process>>>(self, value: VALUE) -> Self
[src]
Defines the process for which this event is an output.
pub fn provider<VALUE: Into<Box<Agent>>>(self, value: VALUE) -> Self
[src]
The economic agent from whom the economic event is initiated.
pub fn realization_of<VALUE: Into<Box<Agreement>>>(self, value: VALUE) -> Self
[src]
This economic event occurs as part of this agreement.
pub fn receiver<VALUE: Into<Box<Agent>>>(self, value: VALUE) -> Self
[src]
The economic agent whom the economic event is for.
pub fn resource_classified_as(self, value: Vec<Url>) -> Self
[src]
References a concept in a common taxonomy or other classification scheme for purposes of categorization or grouping.
pub fn resource_conforms_to<VALUE: Into<Box<ResourceSpecification>>>(
self,
value: VALUE
) -> Self
[src]
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.
pub fn resource_inventoried_as<VALUE: Into<Box<EconomicResource>>>(
self,
value: VALUE
) -> Self
[src]
self,
value: VALUE
) -> Self
Economic resource involved in the economic event.
pub fn resource_quantity<VALUE: Into<Box<Measure>>>(self, value: VALUE) -> Self
[src]
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.
pub fn to_resource_inventoried_as<VALUE: Into<Box<EconomicResource>>>(
self,
value: VALUE
) -> Self
[src]
self,
value: VALUE
) -> Self
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.
pub fn triggered_by<VALUE: Into<Box<EconomicEvent>>>(self, value: VALUE) -> Self
[src]
References another economic event that implied this economic event, often based on a prior agreement.
pub fn build(self) -> Result<EconomicEvent, String>
[src]
Trait Implementations
impl Default for EconomicEventBuilder
[src]
fn default() -> EconomicEventBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for EconomicEventBuilder
impl Send for EconomicEventBuilder
impl Sync for EconomicEventBuilder
impl Unpin for EconomicEventBuilder
impl UnwindSafe for EconomicEventBuilder
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,