pub struct HandWrittenExample;Expand description
Minimal hand-written struct implementing ToJsonSchema (used to validate trait shape).
Trait Implementations§
Source§impl Clone for HandWrittenExample
impl Clone for HandWrittenExample
Source§fn clone(&self) -> HandWrittenExample
fn clone(&self) -> HandWrittenExample
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 HandWrittenExample
impl Debug for HandWrittenExample
Source§impl ToJsonSchema for HandWrittenExample
impl ToJsonSchema for HandWrittenExample
Source§fn json_schema() -> JsonSchema
fn json_schema() -> JsonSchema
Returns the JSON Schema for this type.
Auto Trait Implementations§
impl Freeze for HandWrittenExample
impl RefUnwindSafe for HandWrittenExample
impl Send for HandWrittenExample
impl Sync for HandWrittenExample
impl Unpin for HandWrittenExample
impl UnsafeUnpin for HandWrittenExample
impl UnwindSafe for HandWrittenExample
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