pub struct SchemaSection {
pub name: &'static str,
pub purpose: &'static str,
pub required: bool,
}Expand description
Schema description for a top-level section.
Fields§
§name: &'static str§purpose: &'static str§required: boolTrait Implementations§
Source§impl Clone for SchemaSection
impl Clone for SchemaSection
Source§fn clone(&self) -> SchemaSection
fn clone(&self) -> SchemaSection
Returns a duplicate of the value. Read more
1.0.0 · 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 SchemaSection
impl Debug for SchemaSection
Auto Trait Implementations§
impl Freeze for SchemaSection
impl RefUnwindSafe for SchemaSection
impl Send for SchemaSection
impl Sync for SchemaSection
impl Unpin for SchemaSection
impl UnsafeUnpin for SchemaSection
impl UnwindSafe for SchemaSection
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