Enum vf_rs::vf::AccountingEffect
source · pub enum AccountingEffect {
Decrement,
DecrementIncrement,
Increment,
IncrementTo,
}
Expand description
The action has this effect on an inventoried resource accounting quantity.
Variants§
Decrement
The effect is to subtract from the inventoried resource accounting or onhand quantity.
DecrementIncrement
The effect is to subtract from the ‘from’ inventoried resource, and add to the ‘to’ inventoried resource, accounting or onhand quantity.
Increment
The effect is to add to the inventoried resource accounting or onhand quantity.
IncrementTo
The effect is to add to the to (receiver) inventoried resource accounting or onhand quantity.
Trait Implementations§
source§impl Clone for AccountingEffect
impl Clone for AccountingEffect
source§fn clone(&self) -> AccountingEffect
fn clone(&self) -> AccountingEffect
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AccountingEffect
impl Debug for AccountingEffect
source§impl<'de> Deserialize<'de> for AccountingEffect
impl<'de> Deserialize<'de> for AccountingEffect
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
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 AccountingEffect
impl PartialEq for AccountingEffect
source§fn eq(&self, other: &AccountingEffect) -> bool
fn eq(&self, other: &AccountingEffect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AccountingEffect
impl Serialize for AccountingEffect
impl StructuralPartialEq for AccountingEffect
Auto Trait Implementations§
impl Freeze for AccountingEffect
impl RefUnwindSafe for AccountingEffect
impl Send for AccountingEffect
impl Sync for AccountingEffect
impl Unpin for AccountingEffect
impl UnwindSafe for AccountingEffect
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more