Enum vf_rs::vf::Action

source ·
pub enum Action {
Show 19 variants Accept, Cite, Combine, Consume, Copy, DeliverService, Dropoff, Lower, Modify, Move, Pickup, Produce, Raise, Separate, Transfer, TransferAllRights, TransferCustody, Use, Work,
}
Expand description

An action verb defining the kind of flow and its behavior.

ID: https://w3id.org/valueflows/ont/vf#Action

Variants§

§

Accept

In processes like repair or modification or testing, the same resource will appear in the output.

§

Cite

For example a design file, neither used nor consumed, the file remains available at all times.

§

Combine

A resource is combined with other resources into a container resource.

§

Consume

For example an ingredient or component composed into the output, after the process the ingredient is gone.

§

Copy

Create a new version of the resource, without any change to the original.

§

DeliverService

New service produced and delivered (a service implies that an agent actively receives the service).

§

Dropoff

Transported resource or person leaves the process; the same resource or person appeared in the input.

§

Lower

Adjusts a quantity down based on a beginning balance or inventory count.

§

Modify

In processes like repair or modification, the same resource will appear in the input.

§

Move

Change location and possibly identifier, if location is part of the identification, of a resource with no change of agent rights or possession.

§

Pickup

Transported resource or person enters the process; the same resource will appear in the output.

§

Produce

New resource was created in that process or an existing stock resource was added to.

§

Raise

Adjusts a quantity up based on a beginning balance or inventory count.

§

Separate

A resource is removed from a container resource.

§

Transfer

Give full rights and responsibilities plus physical custody.

§

TransferAllRights

Give full (in the human realm) rights and responsibilities to another agent, without transferring physical custody.

§

TransferCustody

Give physical custody and control of a resource, without full accounting or ownership rights.

§

Use

For example a tool used in process; after the process, the tool still exists.

§

Work

Labor power applied to a process.

Implementations§

Trait Implementations§

source§

impl Clone for Action

source§

fn clone(&self) -> Action

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Action

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<'de> Deserialize<'de> for Action

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
source§

impl PartialEq for Action

source§

fn eq(&self, other: &Action) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Serialize for Action

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl StructuralPartialEq for Action

Auto Trait Implementations§

§

impl Freeze for Action

§

impl RefUnwindSafe for Action

§

impl Send for Action

§

impl Sync for Action

§

impl Unpin for Action

§

impl UnwindSafe for Action

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,