pub struct SchemaBody {
pub fence_language: String,
pub fence_body: String,
pub payload_format: String,
pub properties: Vec<Property>,
}Expand description
Schema entity body (type definition with optional properties).
Fields§
§fence_language: StringLanguage tag for the fenced code block.
fence_body: StringFenced source excerpt for the schema definition.
payload_format: StringSerialization format hint (e.g. "application/json").
properties: Vec<Property>Object properties when the schema represents a structured type.
Trait Implementations§
Source§impl Clone for SchemaBody
impl Clone for SchemaBody
Source§fn clone(&self) -> SchemaBody
fn clone(&self) -> SchemaBody
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 SchemaBody
impl Debug for SchemaBody
Source§impl Default for SchemaBody
impl Default for SchemaBody
Source§fn default() -> SchemaBody
fn default() -> SchemaBody
Returns the “default value” for a type. Read more
impl Eq for SchemaBody
Source§impl PartialEq for SchemaBody
impl PartialEq for SchemaBody
Source§fn eq(&self, other: &SchemaBody) -> bool
fn eq(&self, other: &SchemaBody) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SchemaBody
Auto Trait Implementations§
impl Freeze for SchemaBody
impl RefUnwindSafe for SchemaBody
impl Send for SchemaBody
impl Sync for SchemaBody
impl Unpin for SchemaBody
impl UnsafeUnpin for SchemaBody
impl UnwindSafe for SchemaBody
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