pub struct MySQL { /* private fields */ }Expand description
MySQL database implementation
Implementations§
Trait Implementations§
Source§impl Database for MySQL
impl Database for MySQL
Source§fn database_type(&self) -> DatabaseType
fn database_type(&self) -> DatabaseType
Get the database type
Source§fn type_mapping(&self) -> &dyn TypeMapping
fn type_mapping(&self) -> &dyn TypeMapping
Get the type mapping implementation
Source§fn sql_generator(&self) -> &dyn SqlGenerator
fn sql_generator(&self) -> &dyn SqlGenerator
Get the SQL generator implementation
Source§fn introspector(&self) -> &dyn Introspector
fn introspector(&self) -> &dyn Introspector
Get the introspector implementation
Source§fn connection_manager(&self) -> &dyn ConnectionManager
fn connection_manager(&self) -> &dyn ConnectionManager
Get the connection manager implementation
Source§fn migration_manager(&self) -> &dyn MigrationManager
fn migration_manager(&self) -> &dyn MigrationManager
Get the migration manager implementation
Auto Trait Implementations§
impl !RefUnwindSafe for MySQL
impl !UnwindSafe for MySQL
impl Freeze for MySQL
impl Send for MySQL
impl Sync for MySQL
impl Unpin for MySQL
impl UnsafeUnpin for MySQL
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more