pub enum AdditionalProperties {
Boolean(bool),
Complex(Type),
}
Expand description
Whether or not the object type property accepts additional properties, or what kind of properties it accepts.
Variants§
Boolean(bool)
For objects with fixed properties, such as struct.
Complex(Type)
For objects with undefined properties, such as HashMap.
Trait Implementations§
Source§impl Debug for AdditionalProperties
impl Debug for AdditionalProperties
Auto Trait Implementations§
impl Freeze for AdditionalProperties
impl RefUnwindSafe for AdditionalProperties
impl Send for AdditionalProperties
impl Sync for AdditionalProperties
impl Unpin for AdditionalProperties
impl UnwindSafe for AdditionalProperties
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