pub enum JsonSchemaPropsOr {
Array,
Bool,
StringArray,
}
Variants§
Trait Implementations§
source§impl Clone for JsonSchemaPropsOr
impl Clone for JsonSchemaPropsOr
source§fn clone(&self) -> JsonSchemaPropsOr
fn clone(&self) -> JsonSchemaPropsOr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for JsonSchemaPropsOr
impl Debug for JsonSchemaPropsOr
source§impl Ord for JsonSchemaPropsOr
impl Ord for JsonSchemaPropsOr
source§fn cmp(&self, other: &JsonSchemaPropsOr) -> Ordering
fn cmp(&self, other: &JsonSchemaPropsOr) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for JsonSchemaPropsOr
impl PartialEq for JsonSchemaPropsOr
source§fn eq(&self, other: &JsonSchemaPropsOr) -> bool
fn eq(&self, other: &JsonSchemaPropsOr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for JsonSchemaPropsOr
impl PartialOrd for JsonSchemaPropsOr
source§fn partial_cmp(&self, other: &JsonSchemaPropsOr) -> Option<Ordering>
fn partial_cmp(&self, other: &JsonSchemaPropsOr) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for JsonSchemaPropsOr
impl Eq for JsonSchemaPropsOr
impl StructuralPartialEq for JsonSchemaPropsOr
Auto Trait Implementations§
impl Freeze for JsonSchemaPropsOr
impl RefUnwindSafe for JsonSchemaPropsOr
impl Send for JsonSchemaPropsOr
impl Sync for JsonSchemaPropsOr
impl Unpin for JsonSchemaPropsOr
impl UnwindSafe for JsonSchemaPropsOr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more