pub struct SchemaRegister {
pub name: &'static str,
pub constructor: &'static (dyn Sync + Send + Fn() -> Schema),
}Fields§
§name: &'static str§constructor: &'static (dyn Sync + Send + Fn() -> Schema)Trait Implementations§
impl Collect for SchemaRegister
Auto Trait Implementations§
impl !RefUnwindSafe for SchemaRegister
impl !UnwindSafe for SchemaRegister
impl Freeze for SchemaRegister
impl Send for SchemaRegister
impl Sync for SchemaRegister
impl Unpin for SchemaRegister
impl UnsafeUnpin for SchemaRegister
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