#[non_exhaustive]pub struct RemoveRefSiblings;
Expand description
Restructures JSON Schema objects so that the $ref
property will never appear alongside any
other properties.
This also applies to subschemas.
This is useful for versions of JSON Schema (e.g. Draft 7) that do not support other properties
alongside $ref
.
Trait Implementations§
Source§impl Clone for RemoveRefSiblings
impl Clone for RemoveRefSiblings
Source§fn clone(&self) -> RemoveRefSiblings
fn clone(&self) -> RemoveRefSiblings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RemoveRefSiblings
impl Debug for RemoveRefSiblings
Source§impl Default for RemoveRefSiblings
impl Default for RemoveRefSiblings
Source§fn default() -> RemoveRefSiblings
fn default() -> RemoveRefSiblings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RemoveRefSiblings
impl RefUnwindSafe for RemoveRefSiblings
impl Send for RemoveRefSiblings
impl Sync for RemoveRefSiblings
impl Unpin for RemoveRefSiblings
impl UnwindSafe for RemoveRefSiblings
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