#[non_exhaustive]pub struct TracingConfigResponseBuilder { /* private fields */ }
Expand description
A builder for TracingConfigResponse
.
Implementations§
source§impl TracingConfigResponseBuilder
impl TracingConfigResponseBuilder
sourcepub fn mode(self, input: TracingMode) -> Self
pub fn mode(self, input: TracingMode) -> Self
The tracing mode.
sourcepub fn set_mode(self, input: Option<TracingMode>) -> Self
pub fn set_mode(self, input: Option<TracingMode>) -> Self
The tracing mode.
sourcepub fn get_mode(&self) -> &Option<TracingMode>
pub fn get_mode(&self) -> &Option<TracingMode>
The tracing mode.
sourcepub fn build(self) -> TracingConfigResponse
pub fn build(self) -> TracingConfigResponse
Consumes the builder and constructs a TracingConfigResponse
.
Trait Implementations§
source§impl Clone for TracingConfigResponseBuilder
impl Clone for TracingConfigResponseBuilder
source§fn clone(&self) -> TracingConfigResponseBuilder
fn clone(&self) -> TracingConfigResponseBuilder
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 TracingConfigResponseBuilder
impl Debug for TracingConfigResponseBuilder
source§impl Default for TracingConfigResponseBuilder
impl Default for TracingConfigResponseBuilder
source§fn default() -> TracingConfigResponseBuilder
fn default() -> TracingConfigResponseBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TracingConfigResponseBuilder
impl PartialEq for TracingConfigResponseBuilder
source§fn eq(&self, other: &TracingConfigResponseBuilder) -> bool
fn eq(&self, other: &TracingConfigResponseBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TracingConfigResponseBuilder
Auto Trait Implementations§
impl Freeze for TracingConfigResponseBuilder
impl RefUnwindSafe for TracingConfigResponseBuilder
impl Send for TracingConfigResponseBuilder
impl Sync for TracingConfigResponseBuilder
impl Unpin for TracingConfigResponseBuilder
impl UnwindSafe for TracingConfigResponseBuilder
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.