pub struct JsonItem {
pub type_name: String,
pub properties: FxHashMap<String, ItemType>,
pub required: Option<Vec<String>>,
pub additional_properties: bool,
}
Fields§
§type_name: String
§properties: FxHashMap<String, ItemType>
§required: Option<Vec<String>>
§additional_properties: bool
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JsonItem
impl<'de> Deserialize<'de> for JsonItem
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 JsonItem
impl RefUnwindSafe for JsonItem
impl Send for JsonItem
impl Sync for JsonItem
impl Unpin for JsonItem
impl UnwindSafe for JsonItem
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