Enum eva_common::value::ValueOptionOwned
source · pub enum ValueOptionOwned {
No,
Value(Value),
}Variants§
Implementations§
Trait Implementations§
source§impl Clone for ValueOptionOwned
impl Clone for ValueOptionOwned
source§fn clone(&self) -> ValueOptionOwned
fn clone(&self) -> ValueOptionOwned
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 ValueOptionOwned
impl Debug for ValueOptionOwned
source§impl Default for ValueOptionOwned
impl Default for ValueOptionOwned
source§fn default() -> ValueOptionOwned
fn default() -> ValueOptionOwned
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ValueOptionOwned
impl<'de> Deserialize<'de> for ValueOptionOwned
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 From<ValueOptionOwned> for Option<Value>
impl From<ValueOptionOwned> for Option<Value>
source§fn from(vo: ValueOptionOwned) -> Self
fn from(vo: ValueOptionOwned) -> Self
Converts to this type from the input type.
source§impl PartialEq<ValueOptionOwned> for ValueOptionOwned
impl PartialEq<ValueOptionOwned> for ValueOptionOwned
source§fn eq(&self, other: &ValueOptionOwned) -> bool
fn eq(&self, other: &ValueOptionOwned) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ValueOptionOwned
impl Serialize for ValueOptionOwned
impl Eq for ValueOptionOwned
impl StructuralEq for ValueOptionOwned
impl StructuralPartialEq for ValueOptionOwned
Auto Trait Implementations§
impl RefUnwindSafe for ValueOptionOwned
impl Send for ValueOptionOwned
impl Sync for ValueOptionOwned
impl Unpin for ValueOptionOwned
impl UnwindSafe for ValueOptionOwned
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.