pub struct RecordSchema {
pub name: &'static str,
pub fields: &'static [Field],
}Expand description
One named record schema: a shape host functions produce and scripts
bind by name (LET $s: SSH_SESSION_INFO). Travels with its module
so schemas register exactly when their producer does.
Fields§
§name: &'static str§fields: &'static [Field]Trait Implementations§
Source§impl Clone for RecordSchema
impl Clone for RecordSchema
impl Copy for RecordSchema
Auto Trait Implementations§
impl Freeze for RecordSchema
impl RefUnwindSafe for RecordSchema
impl Send for RecordSchema
impl Sync for RecordSchema
impl Unpin for RecordSchema
impl UnsafeUnpin for RecordSchema
impl UnwindSafe 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