pub struct Items {Show 16 fields
pub data_type: Option<DataType>,
pub format: Option<DataTypeFormat>,
pub items: Option<Box<Items>>,
pub collection_format: Option<CollectionFormat>,
pub enum_: Vec<Value>,
pub maximum: Option<f32>,
pub exclusive_maximum: Option<bool>,
pub minimum: Option<f32>,
pub exclusive_minimum: Option<bool>,
pub max_length: Option<u32>,
pub min_length: Option<u32>,
pub pattern: Option<String>,
pub max_items: Option<u32>,
pub min_items: Option<u32>,
pub unique_items: Option<bool>,
pub multiple_of: Option<f32>,
}
Expand description
Fields§
§data_type: Option<DataType>
§format: Option<DataTypeFormat>
§items: Option<Box<Items>>
§collection_format: Option<CollectionFormat>
§enum_: Vec<Value>
§maximum: Option<f32>
§exclusive_maximum: Option<bool>
§minimum: Option<f32>
§exclusive_minimum: Option<bool>
§max_length: Option<u32>
§min_length: Option<u32>
§pattern: Option<String>
§max_items: Option<u32>
§min_items: Option<u32>
§unique_items: Option<bool>
§multiple_of: Option<f32>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Items
impl<'de> Deserialize<'de> for Items
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
impl StructuralPartialEq for Items
Auto Trait Implementations§
impl Freeze for Items
impl RefUnwindSafe for Items
impl Send for Items
impl Sync for Items
impl Unpin for Items
impl UnwindSafe for Items
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)