Enum vf_rs::vf::StateEffect
source · pub enum StateEffect {
Update,
UpdateTo,
}
Expand description
The action has this effect on an inventoried resource state.
Variants§
Update
The effect is to update the resource in the specified property.
UpdateTo
The effect is to update the to resource in the specified property.
Trait Implementations§
source§impl Clone for StateEffect
impl Clone for StateEffect
source§fn clone(&self) -> StateEffect
fn clone(&self) -> StateEffect
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 StateEffect
impl Debug for StateEffect
source§impl<'de> Deserialize<'de> for StateEffect
impl<'de> Deserialize<'de> for StateEffect
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 StateEffect
impl PartialEq for StateEffect
source§fn eq(&self, other: &StateEffect) -> bool
fn eq(&self, other: &StateEffect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StateEffect
impl Serialize for StateEffect
impl StructuralPartialEq for StateEffect
Auto Trait Implementations§
impl Freeze for StateEffect
impl RefUnwindSafe for StateEffect
impl Send for StateEffect
impl Sync for StateEffect
impl Unpin for StateEffect
impl UnwindSafe for StateEffect
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