[−][src]Struct vf_rs::vf::builders::EconomicEventBuilder
Builder for EconomicEvent
.
Implementations
impl<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT> EconomicEventBuilder<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT>
[src]
pub fn action<VALUE: Into<Action>>(self, value: VALUE) -> Self
[src]
Defines the kind of flow, such as consume, produce, work, transfer, etc.
pub fn agreed_in<VALUE: Into<Url>>(self, value: VALUE) -> Self
[src]
Reference to an agreement between agents which specifies the rules, terms, policies, calculations, etc. which govern this flow.
pub fn at_location<VALUE: Into<SpatialThing>>(self, value: VALUE) -> Self
[src]
The place where an intent, commitment, or economic event occurs. Usually mappable.
pub fn effort_quantity<VALUE: Into<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 planned or actual beginning of a flow or process.
pub fn has_end<VALUE: Into<DateTime<Utc>>>(self, value: VALUE) -> Self
[src]
The planned or actual end of a flow or process.
pub fn has_point_in_time<VALUE: Into<DateTime<Utc>>>(self, value: VALUE) -> Self
[src]
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.
pub fn image<VALUE: Into<Url>>(self, value: VALUE) -> Self
[src]
The uri to an image relevant to the entity, such as a logo, avatar, photo, diagram, etc.
pub fn in_scope_of<VALUE: Into<Vec<Url>>>(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<PROCESS>>(self, value: VALUE) -> Self
[src]
Relates an input flow to it's process.
pub fn note<VALUE: Into<String>>(self, value: VALUE) -> Self
[src]
pub fn output_of<VALUE: Into<PROCESS>>(self, value: VALUE) -> Self
[src]
Relates an output flow to it's process.
pub fn provider<VALUE: Into<AGENT>>(self, value: VALUE) -> Self
[src]
The economic agent from whom the intended, committed, or actual economic event is initiated.
pub fn realization_of<VALUE: Into<AGREEMENT>>(self, value: VALUE) -> Self
[src]
This economic event occurs as part of this agreement.
pub fn receiver<VALUE: Into<AGENT>>(self, value: VALUE) -> Self
[src]
The economic agent whom the intended, committed, or actual economic event is for.
pub fn resource_classified_as<VALUE: Into<Vec<Url>>>(self, value: VALUE) -> 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<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<ECONOMICRESOURCE>>(
self,
value: VALUE
) -> Self
[src]
self,
value: VALUE
) -> Self
Economic resource involved in the flow.
pub fn resource_quantity<VALUE: Into<Measure>>(self, value: VALUE) -> Self
[src]
The amount and unit of the economic resource counted or inventoried.
pub fn to_resource_inventoried_as<VALUE: Into<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<ECONOMICEVENT>>(self, value: VALUE) -> Self
[src]
References an economic event that implied the claim or event, often based on a prior agreement.
pub fn build(
self
) -> Result<EconomicEvent<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT>, String>
[src]
self
) -> Result<EconomicEvent<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT>, String>
Trait Implementations
impl<PROCESS: Default, AGENT: Default, AGREEMENT: Default, RESOURCESPECIFICATION: Default, ECONOMICRESOURCE: Default, ECONOMICEVENT: Default> Default for EconomicEventBuilder<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT>
[src]
fn default(
) -> EconomicEventBuilder<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT>
[src]
) -> EconomicEventBuilder<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT>
Auto Trait Implementations
impl<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT> RefUnwindSafe for EconomicEventBuilder<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT> where
AGENT: RefUnwindSafe,
AGREEMENT: RefUnwindSafe,
ECONOMICEVENT: RefUnwindSafe,
ECONOMICRESOURCE: RefUnwindSafe,
PROCESS: RefUnwindSafe,
RESOURCESPECIFICATION: RefUnwindSafe,
AGENT: RefUnwindSafe,
AGREEMENT: RefUnwindSafe,
ECONOMICEVENT: RefUnwindSafe,
ECONOMICRESOURCE: RefUnwindSafe,
PROCESS: RefUnwindSafe,
RESOURCESPECIFICATION: RefUnwindSafe,
impl<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT> Send for EconomicEventBuilder<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT> where
AGENT: Send,
AGREEMENT: Send,
ECONOMICEVENT: Send,
ECONOMICRESOURCE: Send,
PROCESS: Send,
RESOURCESPECIFICATION: Send,
AGENT: Send,
AGREEMENT: Send,
ECONOMICEVENT: Send,
ECONOMICRESOURCE: Send,
PROCESS: Send,
RESOURCESPECIFICATION: Send,
impl<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT> Sync for EconomicEventBuilder<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT> where
AGENT: Sync,
AGREEMENT: Sync,
ECONOMICEVENT: Sync,
ECONOMICRESOURCE: Sync,
PROCESS: Sync,
RESOURCESPECIFICATION: Sync,
AGENT: Sync,
AGREEMENT: Sync,
ECONOMICEVENT: Sync,
ECONOMICRESOURCE: Sync,
PROCESS: Sync,
RESOURCESPECIFICATION: Sync,
impl<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT> Unpin for EconomicEventBuilder<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT> where
AGENT: Unpin,
AGREEMENT: Unpin,
ECONOMICEVENT: Unpin,
ECONOMICRESOURCE: Unpin,
PROCESS: Unpin,
RESOURCESPECIFICATION: Unpin,
AGENT: Unpin,
AGREEMENT: Unpin,
ECONOMICEVENT: Unpin,
ECONOMICRESOURCE: Unpin,
PROCESS: Unpin,
RESOURCESPECIFICATION: Unpin,
impl<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT> UnwindSafe for EconomicEventBuilder<PROCESS, AGENT, AGREEMENT, RESOURCESPECIFICATION, ECONOMICRESOURCE, ECONOMICEVENT> where
AGENT: UnwindSafe,
AGREEMENT: UnwindSafe,
ECONOMICEVENT: UnwindSafe,
ECONOMICRESOURCE: UnwindSafe,
PROCESS: UnwindSafe,
RESOURCESPECIFICATION: UnwindSafe,
AGENT: UnwindSafe,
AGREEMENT: UnwindSafe,
ECONOMICEVENT: UnwindSafe,
ECONOMICRESOURCE: UnwindSafe,
PROCESS: 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> 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>,