pub struct ObjectSchemaV1 {
pub schema_type: ObjectType,
pub properties: BTreeMap<String, FieldSchemaV1>,
pub required: Vec<String>,
pub additional_properties: bool,
}Expand description
A restricted JSON Schema subset for args, params, resources and metadata.
Fields§
§schema_type: ObjectType§properties: BTreeMap<String, FieldSchemaV1>§required: Vec<String>§additional_properties: boolTrait Implementations§
Source§impl Clone for ObjectSchemaV1
impl Clone for ObjectSchemaV1
Source§impl Debug for ObjectSchemaV1
impl Debug for ObjectSchemaV1
Source§impl<'de> Deserialize<'de> for ObjectSchemaV1
impl<'de> Deserialize<'de> for ObjectSchemaV1
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 PartialEq for ObjectSchemaV1
impl PartialEq for ObjectSchemaV1
Source§impl Serialize for ObjectSchemaV1
impl Serialize for ObjectSchemaV1
impl StructuralPartialEq for ObjectSchemaV1
Auto Trait Implementations§
impl Freeze for ObjectSchemaV1
impl RefUnwindSafe for ObjectSchemaV1
impl Send for ObjectSchemaV1
impl Sync for ObjectSchemaV1
impl Unpin for ObjectSchemaV1
impl UnsafeUnpin for ObjectSchemaV1
impl UnwindSafe for ObjectSchemaV1
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