pub struct DefaultSchema {
pub inner: Box<dyn Schema>,
pub fallback: Value,
}Fields§
§inner: Box<dyn Schema>§fallback: ValueTrait Implementations§
Auto Trait Implementations§
impl Freeze for DefaultSchema
impl !RefUnwindSafe for DefaultSchema
impl Send for DefaultSchema
impl Sync for DefaultSchema
impl Unpin for DefaultSchema
impl UnsafeUnpin for DefaultSchema
impl !UnwindSafe for DefaultSchema
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