Struct rschema::ObjectKeys
source · [−]pub struct ObjectKeys {
pub properties: Properties,
pub required: Vec<String, Global>,
pub additional_properties: Box<AdditionalProperties, Global>,
}Expand description
Attributes for object type properties.
Structs and struct-type variants of enums are correspond to ObjectKeys.
Fields
properties: Propertiesrequired: Vec<String, Global>additional_properties: Box<AdditionalProperties, Global>Trait Implementations
sourceimpl Debug for ObjectKeys
impl Debug for ObjectKeys
sourceimpl Serialize for ObjectKeys
impl Serialize for ObjectKeys
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for ObjectKeys
impl Send for ObjectKeys
impl Sync for ObjectKeys
impl Unpin for ObjectKeys
impl UnwindSafe for ObjectKeys
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