pub struct SchemaInfo {
pub command: String,
pub fields: Vec<FieldInfo>,
pub schema: Option<Value>,
}Expand description
Schema information returned by --schema.
Fields§
§command: StringColon-separated command path.
fields: Vec<FieldInfo>Compact field summary for help and quick inspection.
schema: Option<Value>Full JSON Schema when available.
Implementations§
Source§impl SchemaInfo
impl SchemaInfo
Trait Implementations§
Source§impl Clone for SchemaInfo
impl Clone for SchemaInfo
Source§fn clone(&self) -> SchemaInfo
fn clone(&self) -> SchemaInfo
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 SchemaInfo
impl Debug for SchemaInfo
Source§impl<'de> Deserialize<'de> for SchemaInfo
impl<'de> Deserialize<'de> for SchemaInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SchemaInfo
impl PartialEq for SchemaInfo
Source§fn eq(&self, other: &SchemaInfo) -> bool
fn eq(&self, other: &SchemaInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SchemaInfo
impl Serialize for SchemaInfo
impl StructuralPartialEq for SchemaInfo
Auto Trait Implementations§
impl Freeze for SchemaInfo
impl RefUnwindSafe for SchemaInfo
impl Send for SchemaInfo
impl Sync for SchemaInfo
impl Unpin for SchemaInfo
impl UnsafeUnpin for SchemaInfo
impl UnwindSafe for SchemaInfo
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