pub struct SchemaReport {
pub names: Vec<SchemaName>,
pub schema: Option<Value>,
}Expand description
Result of speccoder schema.
Fields§
§names: Vec<SchemaName>Every schema speccoder publishes.
schema: Option<Value>The schema asked for.
Trait Implementations§
Source§impl Clone for SchemaReport
impl Clone for SchemaReport
Source§impl Debug for SchemaReport
impl Debug for SchemaReport
Source§impl JsonSchema for SchemaReport
impl JsonSchema for SchemaReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for SchemaReport
impl PartialEq for SchemaReport
Source§impl Serialize for SchemaReport
impl Serialize for SchemaReport
impl StructuralPartialEq for SchemaReport
Auto Trait Implementations§
impl Freeze for SchemaReport
impl RefUnwindSafe for SchemaReport
impl Send for SchemaReport
impl Sync for SchemaReport
impl Unpin for SchemaReport
impl UnsafeUnpin for SchemaReport
impl UnwindSafe for SchemaReport
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