pub struct RecordSchema {
pub ty: ResolvedLeafType,
pub fields: Vec<RecordField>,
pub emit: RecordEmitter,
}Expand description
Describes a named record’s required fields and construction implementation.
Fields§
§ty: ResolvedLeafTypeThe constructed type, whose source name keys this schema.
fields: Vec<RecordField>Required fields in canonical constructor order.
emit: RecordEmitterThe constructor, invoked only after field validation.
Auto Trait Implementations§
impl !RefUnwindSafe for RecordSchema
impl !UnwindSafe for RecordSchema
impl Freeze for RecordSchema
impl Send for RecordSchema
impl Sync for RecordSchema
impl Unpin for RecordSchema
impl UnsafeUnpin for RecordSchema
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