pub struct SchemaProperty {
pub reference: Option<String>,
pub description: Option<String>,
pub all_of: Option<Vec<Box<SchemaProperty>>>,
pub kind: Option<SchemaType>,
pub minimum: Option<u64>,
pub items: Option<Box<Schema>>,
pub min_items: Option<u64>,
pub unique_items: Option<bool>,
pub min_length: Option<u64>,
pub required: Option<Vec<String>>,
}Fields§
§reference: Option<String>§description: Option<String>§all_of: Option<Vec<Box<SchemaProperty>>>§kind: Option<SchemaType>§minimum: Option<u64>§items: Option<Box<Schema>>§min_items: Option<u64>§unique_items: Option<bool>§min_length: Option<u64>§required: Option<Vec<String>>Trait Implementations§
Source§impl Clone for SchemaProperty
impl Clone for SchemaProperty
Source§fn clone(&self) -> SchemaProperty
fn clone(&self) -> SchemaProperty
Returns a duplicate 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 SchemaProperty
impl Debug for SchemaProperty
Source§impl<'de> Deserialize<'de> for SchemaProperty
impl<'de> Deserialize<'de> for SchemaProperty
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
Auto Trait Implementations§
impl Freeze for SchemaProperty
impl RefUnwindSafe for SchemaProperty
impl Send for SchemaProperty
impl Sync for SchemaProperty
impl Unpin for SchemaProperty
impl UnwindSafe for SchemaProperty
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