pub enum SchemaStyle {
Prose,
Table,
Json,
}Expand description
Schema render style.
Variants§
Prose
Markdown bullet list, one line per top-level property.
Table
Markdown pipe table.
Json
Pass-through JSON.
Trait Implementations§
Source§impl Clone for SchemaStyle
impl Clone for SchemaStyle
Source§fn clone(&self) -> SchemaStyle
fn clone(&self) -> SchemaStyle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SchemaStyle
impl Debug for SchemaStyle
Source§impl PartialEq for SchemaStyle
impl PartialEq for SchemaStyle
Source§fn eq(&self, other: &SchemaStyle) -> bool
fn eq(&self, other: &SchemaStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for SchemaStyle
impl Eq for SchemaStyle
impl StructuralPartialEq for SchemaStyle
Auto Trait Implementations§
impl Freeze for SchemaStyle
impl RefUnwindSafe for SchemaStyle
impl Send for SchemaStyle
impl Sync for SchemaStyle
impl Unpin for SchemaStyle
impl UnsafeUnpin for SchemaStyle
impl UnwindSafe for SchemaStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.