#[non_exhaustive]pub struct ReplacePrefixItems;Expand description
Rename the prefixItems schema property to items.
This also applies to subschemas.
If the schema contains both prefixItems and items, then this additionally renames items to
additionalItems.
This is useful for versions of JSON Schema (e.g. Draft 7) that do not support the prefixItems
property.
Trait Implementations§
Source§impl Clone for ReplacePrefixItems
impl Clone for ReplacePrefixItems
Source§impl Debug for ReplacePrefixItems
impl Debug for ReplacePrefixItems
Source§impl Default for ReplacePrefixItems
impl Default for ReplacePrefixItems
Auto Trait Implementations§
impl Freeze for ReplacePrefixItems
impl RefUnwindSafe for ReplacePrefixItems
impl Send for ReplacePrefixItems
impl Sync for ReplacePrefixItems
impl Unpin for ReplacePrefixItems
impl UnsafeUnpin for ReplacePrefixItems
impl UnwindSafe for ReplacePrefixItems
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