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() -> MssqlSlowQueryOptions
pub fn enabled(threshold: Duration) -> MssqlSlowQueryOptions
pub fn with_parameter_logging( self, parameter_logging: MssqlParameterLogMode, ) -> MssqlSlowQueryOptions
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 moreimpl Copy for MssqlSlowQueryOptions
Source§impl Debug for MssqlSlowQueryOptions
impl Debug for MssqlSlowQueryOptions
Source§impl Default for MssqlSlowQueryOptions
impl Default for MssqlSlowQueryOptions
Source§fn default() -> MssqlSlowQueryOptions
fn default() -> MssqlSlowQueryOptions
Returns the “default value” for a type. Read more
impl Eq for MssqlSlowQueryOptions
Source§impl PartialEq for MssqlSlowQueryOptions
impl PartialEq 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