pub struct MssqlConnectionConfig { /* private fields */ }Implementations§
Source§impl MssqlConnectionConfig
impl MssqlConnectionConfig
pub fn from_connection_string(connection_string: &str) -> Result<Self, OrmError>
pub fn from_connection_string_with_options( connection_string: &str, options: MssqlOperationalOptions, ) -> Result<Self, OrmError>
pub fn with_options(self, options: MssqlOperationalOptions) -> Self
pub fn connection_string(&self) -> &str
pub fn addr(&self) -> String
pub fn options(&self) -> &MssqlOperationalOptions
Trait Implementations§
Source§impl Clone for MssqlConnectionConfig
impl Clone for MssqlConnectionConfig
Source§fn clone(&self) -> MssqlConnectionConfig
fn clone(&self) -> MssqlConnectionConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MssqlConnectionConfig
impl RefUnwindSafe for MssqlConnectionConfig
impl Send for MssqlConnectionConfig
impl Sync for MssqlConnectionConfig
impl Unpin for MssqlConnectionConfig
impl UnsafeUnpin for MssqlConnectionConfig
impl UnwindSafe for MssqlConnectionConfig
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