pub struct Properties {Show 15 fields
pub type: Option<TypeOrUnion>,
pub description: Option<String>,
pub format: Option<Format>,
pub example: Option<Value>,
pub pattern: Option<String>,
pub min_length: Option<u64>,
pub max_length: Option<u64>,
pub min_items: Option<u64>,
pub max_items: Option<u64>,
pub minimum: Option<f64>,
pub maximum: Option<f64>,
pub items: Option<Box<Properties>>,
pub properties: Option<HashMap<String, Properties>>,
pub required: Vec<String>,
pub enum: Option<Vec<Value>>,
}Fields§
§type: Option<TypeOrUnion>§description: Option<String>§format: Option<Format>§example: Option<Value>§pattern: Option<String>§min_length: Option<u64>§max_length: Option<u64>§min_items: Option<u64>§max_items: Option<u64>§minimum: Option<f64>§maximum: Option<f64>§items: Option<Box<Properties>>§properties: Option<HashMap<String, Properties>>§required: Vec<String>§enum: Option<Vec<Value>>Trait Implementations§
Source§impl Debug for Properties
impl Debug for Properties
Source§impl<'de> Deserialize<'de> for Properties
impl<'de> Deserialize<'de> for Properties
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 Properties
impl RefUnwindSafe for Properties
impl Send for Properties
impl Sync for Properties
impl Unpin for Properties
impl UnsafeUnpin for Properties
impl UnwindSafe for Properties
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