Enum preserves_schema::gen::schema::NamedSimplePattern [−][src]
pub enum NamedSimplePattern { Named(Box<Binding>), Anonymous(Box<SimplePattern>), }
Variants
Tuple Fields of Anonymous
0: Box<SimplePattern>
Trait Implementations
impl<'de, R: Reader<'de, _Ptr, _Any>> Deserialize<'de, IOValue, IOValue, R> for NamedSimplePattern
impl<'de, R: Reader<'de, _Ptr, _Any>> Deserialize<'de, IOValue, IOValue, R> for NamedSimplePattern
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for NamedSimplePattern
impl Send for NamedSimplePattern
impl Sync for NamedSimplePattern
impl Unpin for NamedSimplePattern
impl UnwindSafe for NamedSimplePattern
Blanket Implementations
Mutably borrows from an owned value. Read more