[][src]Enum jellyschema::schema::UniqueItems

pub enum UniqueItems {
    Boolean(bool),
    Paths(Vec<String>),
}

Variants

Boolean(bool)Paths(Vec<String>)

Methods

impl UniqueItems[src]

pub fn is_unique(&self) -> Option<bool>[src]

pub fn paths(&self) -> Option<&[String]>[src]

Trait Implementations

impl PartialEq<UniqueItems> for UniqueItems[src]

impl Default for UniqueItems[src]

impl Debug for UniqueItems[src]

impl Serialize for UniqueItems[src]

impl<'de> Deserialize<'de> for UniqueItems[src]

Auto Trait Implementations

impl Send for UniqueItems

impl Sync for UniqueItems

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]