pub struct ObjectConstraints {
pub min_properties: Option<u64>,
pub max_properties: Option<u64>,
}Fields§
§min_properties: Option<u64>§max_properties: Option<u64>Trait Implementations§
Source§impl Clone for ObjectConstraints
impl Clone for ObjectConstraints
Source§fn clone(&self) -> ObjectConstraints
fn clone(&self) -> ObjectConstraints
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 ObjectConstraints
impl Debug for ObjectConstraints
Source§impl Default for ObjectConstraints
impl Default for ObjectConstraints
Source§fn default() -> ObjectConstraints
fn default() -> ObjectConstraints
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ObjectConstraints
impl<'de> Deserialize<'de> for ObjectConstraints
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
Source§impl PartialEq for ObjectConstraints
impl PartialEq for ObjectConstraints
Source§fn eq(&self, other: &ObjectConstraints) -> bool
fn eq(&self, other: &ObjectConstraints) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ObjectConstraints
impl Serialize for ObjectConstraints
impl StructuralPartialEq for ObjectConstraints
Auto Trait Implementations§
impl Freeze for ObjectConstraints
impl RefUnwindSafe for ObjectConstraints
impl Send for ObjectConstraints
impl Sync for ObjectConstraints
impl Unpin for ObjectConstraints
impl UnsafeUnpin for ObjectConstraints
impl UnwindSafe for ObjectConstraints
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