#[non_exhaustive]pub struct HealthCheckLogConfig {
pub enable: Option<bool>,
/* private fields */
}Available on crate features
health-checks or region-health-checks only.Expand description
Configuration of logging on a health check. If logging is enabled, logs will be exported to Stackdriver.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.enable: Option<bool>Indicates whether or not to export logs. This is false by default, which means no health check logging will be done.
Implementations§
Source§impl HealthCheckLogConfig
impl HealthCheckLogConfig
pub fn new() -> Self
Sourcepub fn set_enable<T>(self, v: T) -> Self
pub fn set_enable<T>(self, v: T) -> Self
Trait Implementations§
Source§impl Clone for HealthCheckLogConfig
impl Clone for HealthCheckLogConfig
Source§fn clone(&self) -> HealthCheckLogConfig
fn clone(&self) -> HealthCheckLogConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 HealthCheckLogConfig
impl Debug for HealthCheckLogConfig
Source§impl Default for HealthCheckLogConfig
impl Default for HealthCheckLogConfig
Source§fn default() -> HealthCheckLogConfig
fn default() -> HealthCheckLogConfig
Returns the “default value” for a type. Read more
Source§impl Message for HealthCheckLogConfig
impl Message for HealthCheckLogConfig
Source§impl PartialEq for HealthCheckLogConfig
impl PartialEq for HealthCheckLogConfig
impl StructuralPartialEq for HealthCheckLogConfig
Auto Trait Implementations§
impl Freeze for HealthCheckLogConfig
impl RefUnwindSafe for HealthCheckLogConfig
impl Send for HealthCheckLogConfig
impl Sync for HealthCheckLogConfig
impl Unpin for HealthCheckLogConfig
impl UnwindSafe for HealthCheckLogConfig
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