Enum chromiumoxide_pdl::pdl::Type[][src]

pub enum Type<'a> {
    Integer,
    Number,
    Boolean,
    String,
    Object,
    Any,
    Binary,
    Enum(Vec<Variant<'a>>),
    ArrayOf(Box<Type<'a>>),
    Ref(Cow<'a, str>),
}

Variants

Integer
Number
Boolean
String
Object
Any
Binary
Enum(Vec<Variant<'a>>)
ArrayOf(Box<Type<'a>>)
Ref(Cow<'a, str>)

Implementations

impl Type<'_>[src]

pub fn is_enum(&self) -> bool[src]

pub fn is_string(&self) -> bool[src]

pub fn is_integer(&self) -> bool[src]

Trait Implementations

impl<'a> Clone for Type<'a>[src]

impl<'a> Debug for Type<'a>[src]

impl<'a> Eq for Type<'a>[src]

impl<'a> PartialEq<Type<'a>> for Type<'a>[src]

impl<'a> StructuralEq for Type<'a>[src]

impl<'a> StructuralPartialEq for Type<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Type<'a>

impl<'a> Send for Type<'a>

impl<'a> Sync for Type<'a>

impl<'a> Unpin for Type<'a>

impl<'a> UnwindSafe for Type<'a>

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<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.