[−][src]Struct vf_rs::intent::Intent
A planned economic flow, which can lead to economic events (sometimes through commitments).
ID: https://raw.githubusercontent.com/valueflows/valueflows/master/json-schemas/Intent.json
Fields
action: String
Relates an intent 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 intent.
at_location: Option<Box<SpatialThing>>
The place where an intent occurs. Usually mappable.
available_quantity: Option<Box<Measure>>
The total quantity of the offered resource available.
due: Option<DateTime<Utc>>
The due date/time of the intent.
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.
finished: Option<bool>
The intent is complete or not. This is irrespective of if the original goal has been met, and indicates that no more will be done.
has_beginning: Option<DateTime<Utc>>
The planned beginning of the intent.
has_end: Option<DateTime<Utc>>
The planned end of the intent.
has_point_in_time: Option<DateTime<Utc>>
The planned date/time for the intent. Can be used instead of beginning and end.
image: Option<Url>
The uri to an image relevant to the item, such as a photo, diagram, etc.
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 intent is an input.
name: Option<String>
An informal or formal textual identifier for the intent. Does not imply uniqueness.
note: Option<String>
A textual comment or description.
output_of: Option<Box<Process>>
Defines the process for which this intent is an output.
provider: Option<Box<Agent>>
The economic agent from whom the intent is initiated. This implies that the intent is an offer.
receiver: Option<Box<Agent>>
The economic agent whom the intent is for. This implies that the intent is a request.
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 intent.
resource_quantity: Option<Box<Measure>>
The amount and unit of the economic resource counted or inventoried.
Methods
impl Intent
[src]
pub fn into_builder(self) -> IntentBuilder
[src]
Turns Intent into IntentBuilder
Trait Implementations
impl Clone for Intent
[src]
impl Debug for Intent
[src]
impl<'de> Deserialize<'de> for Intent
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<Intent> for Intent
[src]
impl Serialize for Intent
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for Intent
[src]
Auto Trait Implementations
impl RefUnwindSafe for Intent
impl Send for Intent
impl Sync for Intent
impl Unpin for Intent
impl UnwindSafe for Intent
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>,