pub struct CreateTable<E> { /* private fields */ }Expand description
A migration that creates E’s table (+ its indexes) from the derived
schema, idempotently (CREATE TABLE IF NOT EXISTS).
Implementations§
Source§impl<E> CreateTable<E>
impl<E> CreateTable<E>
pub fn new(name: &'static str) -> CreateTable<E>
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for CreateTable<E>
impl<E> RefUnwindSafe for CreateTable<E>where
E: RefUnwindSafe,
impl<E> Send for CreateTable<E>where
E: Send,
impl<E> Sync for CreateTable<E>where
E: Sync,
impl<E> Unpin for CreateTable<E>where
E: Unpin,
impl<E> UnsafeUnpin for CreateTable<E>
impl<E> UnwindSafe for CreateTable<E>where
E: UnwindSafe,
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
Source§impl<T> Event for T
impl<T> Event for T
Source§fn event_name() -> &'static strwhere
Self: Sized,
fn event_name() -> &'static strwhere
Self: Sized,
A human-readable name, used by wildcard listeners and log output.
Always the Rust type path; see the trait docs.