pub struct ObjectType {
pub key_type: Box<Schema>,
pub max_length: Option<usize>,
pub min_length: Option<usize>,
pub required: Option<Vec<String>>,
pub value_type: Box<Schema>,
}Fields§
§key_type: Box<Schema>§max_length: Option<usize>§min_length: Option<usize>§required: Option<Vec<String>>§value_type: Box<Schema>Implementations§
Trait Implementations§
Source§impl Clone for ObjectType
impl Clone for ObjectType
Source§fn clone(&self) -> ObjectType
fn clone(&self) -> ObjectType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ObjectType
impl Debug for ObjectType
Source§impl Default for ObjectType
impl Default for ObjectType
Source§fn default() -> ObjectType
fn default() -> ObjectType
Returns the “default value” for a type. Read more
Source§impl Display for ObjectType
impl Display for ObjectType
Source§impl PartialEq for ObjectType
impl PartialEq for ObjectType
impl StructuralPartialEq for ObjectType
Auto Trait Implementations§
impl Freeze for ObjectType
impl RefUnwindSafe for ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnwindSafe for ObjectType
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