pub enum ExclusiveBound {
Bool(bool),
Number(f64),
}Expand description
3.0 used exclusiveMinimum: true as a bool flag against minimum;
3.1 (JSON Schema 2020-12) uses exclusiveMinimum: <number>.
Variants§
Trait Implementations§
Source§impl Clone for ExclusiveBound
impl Clone for ExclusiveBound
Source§fn clone(&self) -> ExclusiveBound
fn clone(&self) -> ExclusiveBound
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExclusiveBound
impl Debug for ExclusiveBound
Source§impl<'de> Deserialize<'de> for ExclusiveBound
impl<'de> Deserialize<'de> for ExclusiveBound
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExclusiveBound
impl RefUnwindSafe for ExclusiveBound
impl Send for ExclusiveBound
impl Sync for ExclusiveBound
impl Unpin for ExclusiveBound
impl UnsafeUnpin for ExclusiveBound
impl UnwindSafe for ExclusiveBound
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