pub struct ComponentSchemaBase {
pub title: Option<String>,
pub description: Option<String>,
pub type: Option<TypeOrUnion>,
pub items: Option<Box<ComponentSchemaBase>>,
pub properties: Option<HashMap<String, Properties>>,
pub required: Vec<String>,
pub all_of: Option<Vec<ComponentProperties>>,
pub one_of: Option<Vec<ComponentProperties>>,
pub min_items: Option<u64>,
pub max_items: Option<u64>,
}Fields§
§title: Option<String>§description: Option<String>§type: Option<TypeOrUnion>§items: Option<Box<ComponentSchemaBase>>§properties: Option<HashMap<String, Properties>>§required: Vec<String>§all_of: Option<Vec<ComponentProperties>>§one_of: Option<Vec<ComponentProperties>>§min_items: Option<u64>§max_items: Option<u64>Trait Implementations§
Source§impl Debug for ComponentSchemaBase
impl Debug for ComponentSchemaBase
Source§impl<'de> Deserialize<'de> for ComponentSchemaBase
impl<'de> Deserialize<'de> for ComponentSchemaBase
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 ComponentSchemaBase
impl RefUnwindSafe for ComponentSchemaBase
impl Send for ComponentSchemaBase
impl Sync for ComponentSchemaBase
impl Unpin for ComponentSchemaBase
impl UnsafeUnpin for ComponentSchemaBase
impl UnwindSafe for ComponentSchemaBase
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