pub struct MssqlSlowQueryOptions {
pub enabled: bool,
pub threshold: Duration,
pub parameter_logging: MssqlParameterLogMode,
}Fields§
§enabled: bool§threshold: Duration§parameter_logging: MssqlParameterLogModeImplementations§
Source§impl MssqlSlowQueryOptions
impl MssqlSlowQueryOptions
pub fn disabled() -> Self
pub fn enabled(threshold: Duration) -> Self
pub fn with_parameter_logging( self, parameter_logging: MssqlParameterLogMode, ) -> Self
Trait Implementations§
Source§impl Clone for MssqlSlowQueryOptions
impl Clone for MssqlSlowQueryOptions
Source§fn clone(&self) -> MssqlSlowQueryOptions
fn clone(&self) -> MssqlSlowQueryOptions
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 MssqlSlowQueryOptions
impl Debug for MssqlSlowQueryOptions
Source§impl Default for MssqlSlowQueryOptions
impl Default for MssqlSlowQueryOptions
Source§impl PartialEq for MssqlSlowQueryOptions
impl PartialEq for MssqlSlowQueryOptions
Source§fn eq(&self, other: &MssqlSlowQueryOptions) -> bool
fn eq(&self, other: &MssqlSlowQueryOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MssqlSlowQueryOptions
impl Eq for MssqlSlowQueryOptions
impl StructuralPartialEq for MssqlSlowQueryOptions
Auto Trait Implementations§
impl Freeze for MssqlSlowQueryOptions
impl RefUnwindSafe for MssqlSlowQueryOptions
impl Send for MssqlSlowQueryOptions
impl Sync for MssqlSlowQueryOptions
impl Unpin for MssqlSlowQueryOptions
impl UnsafeUnpin for MssqlSlowQueryOptions
impl UnwindSafe for MssqlSlowQueryOptions
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