Struct rschema_core::ObjectProp
source · [−]pub struct ObjectProp {
pub properties: Properties,
pub required: Vec<String>,
pub additional_properties: Box<AdditionalProperties>,
}Expand description
Attributes for object type properties.
Structs and struct-type variants of enums are correspond to ObjectProp.
Fields
properties: Propertiesrequired: Vec<String>additional_properties: Box<AdditionalProperties>Trait Implementations
sourceimpl Debug for ObjectProp
impl Debug for ObjectProp
sourceimpl Serialize for ObjectProp
impl Serialize for ObjectProp
Auto Trait Implementations
impl RefUnwindSafe for ObjectProp
impl Send for ObjectProp
impl Sync for ObjectProp
impl Unpin for ObjectProp
impl UnwindSafe for ObjectProp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more