pub struct ArrayBounds {
pub min: Option<u64>,
pub max: Option<u64>,
}Expand description
The minItems and maxItems an array property carries.
Fields§
§min: Option<u64>The fewest elements the schema allows.
max: Option<u64>The most elements the schema allows.
Implementations§
Trait Implementations§
Source§impl Clone for ArrayBounds
impl Clone for ArrayBounds
impl Copy for ArrayBounds
Source§impl Debug for ArrayBounds
impl Debug for ArrayBounds
impl Eq for ArrayBounds
Source§impl PartialEq for ArrayBounds
impl PartialEq for ArrayBounds
impl StructuralPartialEq for ArrayBounds
Auto Trait Implementations§
impl Forget for ArrayBounds
impl Freeze for ArrayBounds
impl RefUnwindSafe for ArrayBounds
impl Send for ArrayBounds
impl Sync for ArrayBounds
impl Unpin for ArrayBounds
impl UnsafeUnpin for ArrayBounds
impl UnwindSafe for ArrayBounds
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.