[][src]Struct perde_core::schema::Optional

pub struct Optional {
    pub value: Box<Schema>,
}

Fields

value: Box<Schema>

Implementations

impl Optional[src]

pub fn new(value: Box<Schema>) -> Self[src]

Constructs a new Optional.

impl Optional[src]

pub fn name(&self) -> &str[src]

Trait Implementations

impl Clone for Optional[src]

impl Debug for Optional[src]

impl<'a, 'de> DeserializeSeed<'de> for &'a Optional[src]

type Value = Object

The type produced by using this seed.

impl Eq for Optional[src]

impl PartialEq<Optional> for Optional[src]

impl StructuralEq for Optional[src]

impl StructuralPartialEq for Optional[src]

Auto Trait Implementations

impl RefUnwindSafe for Optional

impl !Send for Optional

impl !Sync for Optional

impl Unpin for Optional

impl UnwindSafe for Optional

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.