#[non_exhaustive]pub struct LogConfigurationBuilder { /* private fields */ }
Expand description
A builder for LogConfiguration
.
Implementations§
source§impl LogConfigurationBuilder
impl LogConfigurationBuilder
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Indicates whether logging is enabled.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Indicates whether logging is enabled.
sourcepub fn build(self) -> LogConfiguration
pub fn build(self) -> LogConfiguration
Consumes the builder and constructs a LogConfiguration
.
Trait Implementations§
source§impl Clone for LogConfigurationBuilder
impl Clone for LogConfigurationBuilder
source§fn clone(&self) -> LogConfigurationBuilder
fn clone(&self) -> LogConfigurationBuilder
Returns a copy 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 LogConfigurationBuilder
impl Debug for LogConfigurationBuilder
source§impl Default for LogConfigurationBuilder
impl Default for LogConfigurationBuilder
source§fn default() -> LogConfigurationBuilder
fn default() -> LogConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LogConfigurationBuilder
impl PartialEq for LogConfigurationBuilder
source§fn eq(&self, other: &LogConfigurationBuilder) -> bool
fn eq(&self, other: &LogConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LogConfigurationBuilder
Auto Trait Implementations§
impl Freeze for LogConfigurationBuilder
impl RefUnwindSafe for LogConfigurationBuilder
impl Send for LogConfigurationBuilder
impl Sync for LogConfigurationBuilder
impl Unpin for LogConfigurationBuilder
impl UnwindSafe for LogConfigurationBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.