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