Enum cadom::DecayDeserItem
source · Available on crate feature
serde
only.Variants
Internal(String)
External(O)
Trait Implementations
sourceimpl<O: Clone + StdError> Clone for DecayDeserItem<O>
impl<O: Clone + StdError> Clone for DecayDeserItem<O>
sourcefn clone(&self) -> DecayDeserItem<O>
fn clone(&self) -> DecayDeserItem<O>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<O: Debug + StdError> Debug for DecayDeserItem<O>
impl<O: Debug + StdError> Debug for DecayDeserItem<O>
sourceimpl<'de, O: StdError> Deserialize<'de> for DecayDeserItem<O>where
O: Deserialize<'de>,
impl<'de, O: StdError> Deserialize<'de> for DecayDeserItem<O>where
O: Deserialize<'de>,
sourcefn 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
sourceimpl<O: StdError + JsonSchema> JsonSchema for DecayDeserItem<O>
impl<O: StdError + JsonSchema> JsonSchema for DecayDeserItem<O>
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresourceimpl<O: PartialEq + StdError> PartialEq<DecayDeserItem<O>> for DecayDeserItem<O>
impl<O: PartialEq + StdError> PartialEq<DecayDeserItem<O>> for DecayDeserItem<O>
sourcefn eq(&self, other: &DecayDeserItem<O>) -> bool
fn eq(&self, other: &DecayDeserItem<O>) -> bool
sourceimpl<O: StdError> Serialize for DecayDeserItem<O>where
O: Serialize,
impl<O: StdError> Serialize for DecayDeserItem<O>where
O: Serialize,
impl<O: Eq + StdError> Eq for DecayDeserItem<O>
impl<O: StdError> StructuralEq for DecayDeserItem<O>
impl<O: StdError> StructuralPartialEq for DecayDeserItem<O>
Auto Trait Implementations
impl<O> RefUnwindSafe for DecayDeserItem<O>where
O: RefUnwindSafe,
impl<O> Send for DecayDeserItem<O>where
O: Send,
impl<O> Sync for DecayDeserItem<O>where
O: Sync,
impl<O> Unpin for DecayDeserItem<O>where
O: Unpin,
impl<O> UnwindSafe for DecayDeserItem<O>where
O: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.