pub struct ExtTypeSchema {
pub schema: SchemaNodeId,
pub optional: bool,
}Expand description
Extension type definition with optionality
Fields§
§schema: SchemaNodeIdSchema for the extension value
optional: boolWhether the extension is optional (default: false = required)
Trait Implementations§
Source§impl Clone for ExtTypeSchema
impl Clone for ExtTypeSchema
Source§fn clone(&self) -> ExtTypeSchema
fn clone(&self) -> ExtTypeSchema
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 ExtTypeSchema
impl Debug for ExtTypeSchema
Source§impl PartialEq for ExtTypeSchema
impl PartialEq for ExtTypeSchema
impl StructuralPartialEq for ExtTypeSchema
Auto Trait Implementations§
impl Freeze for ExtTypeSchema
impl RefUnwindSafe for ExtTypeSchema
impl Send for ExtTypeSchema
impl Sync for ExtTypeSchema
impl Unpin for ExtTypeSchema
impl UnwindSafe for ExtTypeSchema
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