pub struct ArraySchema {
pub additional_items: Option<Additional>,
pub items: Option<Items>,
pub max_items: Option<u64>,
pub min_items: Option<u64>,
pub unique_items: Option<bool>,
pub extra: SharedSchema,
}Fields§
§additional_items: Option<Additional>§items: Option<Items>§max_items: Option<u64>§min_items: Option<u64>§unique_items: Option<bool>§extra: SharedSchemaTrait Implementations§
Source§impl Clone for ArraySchema
impl Clone for ArraySchema
Source§fn clone(&self) -> ArraySchema
fn clone(&self) -> ArraySchema
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 ArraySchema
impl Debug for ArraySchema
Source§impl Default for ArraySchema
impl Default for ArraySchema
Source§fn default() -> ArraySchema
fn default() -> ArraySchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ArraySchema
impl<'de> Deserialize<'de> for ArraySchema
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 From<ArraySchema> for ArraySchema
impl From<ArraySchema> for ArraySchema
Source§fn from(value: ArraySchema) -> Self
fn from(value: ArraySchema) -> Self
Converts to this type from the input type.
Source§impl From<ArraySchema> for ArraySchema
impl From<ArraySchema> for ArraySchema
Source§fn from(value: ArraySchema) -> Self
fn from(value: ArraySchema) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ArraySchema
impl PartialEq for ArraySchema
Source§impl Serialize for ArraySchema
impl Serialize for ArraySchema
impl StructuralPartialEq for ArraySchema
Auto Trait Implementations§
impl Freeze for ArraySchema
impl RefUnwindSafe for ArraySchema
impl Send for ArraySchema
impl Sync for ArraySchema
impl Unpin for ArraySchema
impl UnwindSafe for ArraySchema
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