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