pub struct SchemaDocument { /* private fields */ }Implementations§
Source§impl SchemaDocument
impl SchemaDocument
pub fn with_external(register: impl Fn(&mut SchemaGenerator)) -> Self
pub fn output<T: JsonSchema>(self) -> Self
pub fn input<T: JsonSchema>(self) -> Self
pub fn build(self) -> Value
pub fn print(self)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SchemaDocument
impl !Sync for SchemaDocument
impl !UnwindSafe for SchemaDocument
impl Freeze for SchemaDocument
impl Send for SchemaDocument
impl Unpin for SchemaDocument
impl UnsafeUnpin for SchemaDocument
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