pub struct SchemaName {
pub name: String,
pub describes: String,
pub url: String,
}Expand description
One published schema.
Fields§
§name: Stringresult, event, run, …
describes: StringWhat it describes.
url: StringWhere it is published.
Trait Implementations§
Source§impl Clone for SchemaName
impl Clone for SchemaName
Source§impl Debug for SchemaName
impl Debug for SchemaName
impl Eq for SchemaName
Source§impl JsonSchema for SchemaName
impl JsonSchema for SchemaName
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 SchemaName
impl PartialEq for SchemaName
Source§impl Serialize for SchemaName
impl Serialize for SchemaName
impl StructuralPartialEq for SchemaName
Auto Trait Implementations§
impl Freeze for SchemaName
impl RefUnwindSafe for SchemaName
impl Send for SchemaName
impl Sync for SchemaName
impl Unpin for SchemaName
impl UnsafeUnpin for SchemaName
impl UnwindSafe for SchemaName
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