pub struct MssqlOperationalOptions {
pub timeouts: MssqlTimeoutOptions,
pub retry: MssqlRetryOptions,
pub tracing: MssqlTracingOptions,
pub slow_query: MssqlSlowQueryOptions,
pub health: MssqlHealthCheckOptions,
pub pool: MssqlPoolOptions,
}Fields§
§timeouts: MssqlTimeoutOptions§retry: MssqlRetryOptions§tracing: MssqlTracingOptions§slow_query: MssqlSlowQueryOptions§health: MssqlHealthCheckOptions§pool: MssqlPoolOptionsImplementations§
Source§impl MssqlOperationalOptions
impl MssqlOperationalOptions
pub fn new() -> MssqlOperationalOptions
pub fn with_timeouts( self, timeouts: MssqlTimeoutOptions, ) -> MssqlOperationalOptions
pub fn with_retry(self, retry: MssqlRetryOptions) -> MssqlOperationalOptions
pub fn with_tracing( self, tracing: MssqlTracingOptions, ) -> MssqlOperationalOptions
pub fn with_slow_query( self, slow_query: MssqlSlowQueryOptions, ) -> MssqlOperationalOptions
pub fn with_health( self, health: MssqlHealthCheckOptions, ) -> MssqlOperationalOptions
pub fn with_pool(self, pool: MssqlPoolOptions) -> MssqlOperationalOptions
Trait Implementations§
Source§impl Clone for MssqlOperationalOptions
impl Clone for MssqlOperationalOptions
Source§fn clone(&self) -> MssqlOperationalOptions
fn clone(&self) -> MssqlOperationalOptions
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 moreSource§impl Debug for MssqlOperationalOptions
impl Debug for MssqlOperationalOptions
Source§impl Default for MssqlOperationalOptions
impl Default for MssqlOperationalOptions
Source§fn default() -> MssqlOperationalOptions
fn default() -> MssqlOperationalOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for MssqlOperationalOptions
impl PartialEq for MssqlOperationalOptions
Source§fn eq(&self, other: &MssqlOperationalOptions) -> bool
fn eq(&self, other: &MssqlOperationalOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MssqlOperationalOptions
impl StructuralPartialEq for MssqlOperationalOptions
Auto Trait Implementations§
impl Freeze for MssqlOperationalOptions
impl RefUnwindSafe for MssqlOperationalOptions
impl Send for MssqlOperationalOptions
impl Sync for MssqlOperationalOptions
impl Unpin for MssqlOperationalOptions
impl UnsafeUnpin for MssqlOperationalOptions
impl UnwindSafe for MssqlOperationalOptions
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