pub struct RecordFieldSchema {
pub schema: SchemaNodeId,
pub optional: bool,
pub binding_style: Option<BindingStyle>,
}Expand description
Record field with per-field metadata
Spec: lines 401-410 (value extensions)
value.$ext-type.optional = .boolean (optional)
value.$ext-type.binding-style = .$types.binding-style (optional)Fields§
§schema: SchemaNodeIdSchema for this field’s value
optional: boolField is optional (defaults to false = required)
binding_style: Option<BindingStyle>Binding style for this field
Trait Implementations§
Source§impl Clone for RecordFieldSchema
impl Clone for RecordFieldSchema
Source§fn clone(&self) -> RecordFieldSchema
fn clone(&self) -> RecordFieldSchema
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 RecordFieldSchema
impl Debug for RecordFieldSchema
Source§impl PartialEq for RecordFieldSchema
impl PartialEq for RecordFieldSchema
impl StructuralPartialEq for RecordFieldSchema
Auto Trait Implementations§
impl Freeze for RecordFieldSchema
impl RefUnwindSafe for RecordFieldSchema
impl Send for RecordFieldSchema
impl Sync for RecordFieldSchema
impl Unpin for RecordFieldSchema
impl UnwindSafe for RecordFieldSchema
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