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