#[non_exhaustive]pub struct DeletionWarningBuilder { /* private fields */ }
Expand description
A builder for DeletionWarning
.
Implementations§
source§impl DeletionWarningBuilder
impl DeletionWarningBuilder
sourcepub fn configuration_id(self, input: impl Into<String>) -> Self
pub fn configuration_id(self, input: impl Into<String>) -> Self
The unique identifier of the configuration that produced a warning.
sourcepub fn set_configuration_id(self, input: Option<String>) -> Self
pub fn set_configuration_id(self, input: Option<String>) -> Self
The unique identifier of the configuration that produced a warning.
sourcepub fn get_configuration_id(&self) -> &Option<String>
pub fn get_configuration_id(&self) -> &Option<String>
The unique identifier of the configuration that produced a warning.
sourcepub fn warning_code(self, input: i32) -> Self
pub fn warning_code(self, input: i32) -> Self
The integer warning code associated with the warning message.
sourcepub fn set_warning_code(self, input: Option<i32>) -> Self
pub fn set_warning_code(self, input: Option<i32>) -> Self
The integer warning code associated with the warning message.
sourcepub fn get_warning_code(&self) -> &Option<i32>
pub fn get_warning_code(&self) -> &Option<i32>
The integer warning code associated with the warning message.
sourcepub fn warning_text(self, input: impl Into<String>) -> Self
pub fn warning_text(self, input: impl Into<String>) -> Self
A descriptive message of the warning the associated configuration ID produced.
sourcepub fn set_warning_text(self, input: Option<String>) -> Self
pub fn set_warning_text(self, input: Option<String>) -> Self
A descriptive message of the warning the associated configuration ID produced.
sourcepub fn get_warning_text(&self) -> &Option<String>
pub fn get_warning_text(&self) -> &Option<String>
A descriptive message of the warning the associated configuration ID produced.
sourcepub fn build(self) -> DeletionWarning
pub fn build(self) -> DeletionWarning
Consumes the builder and constructs a DeletionWarning
.
Trait Implementations§
source§impl Clone for DeletionWarningBuilder
impl Clone for DeletionWarningBuilder
source§fn clone(&self) -> DeletionWarningBuilder
fn clone(&self) -> DeletionWarningBuilder
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 DeletionWarningBuilder
impl Debug for DeletionWarningBuilder
source§impl Default for DeletionWarningBuilder
impl Default for DeletionWarningBuilder
source§fn default() -> DeletionWarningBuilder
fn default() -> DeletionWarningBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DeletionWarningBuilder
impl PartialEq for DeletionWarningBuilder
source§fn eq(&self, other: &DeletionWarningBuilder) -> bool
fn eq(&self, other: &DeletionWarningBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeletionWarningBuilder
Auto Trait Implementations§
impl Freeze for DeletionWarningBuilder
impl RefUnwindSafe for DeletionWarningBuilder
impl Send for DeletionWarningBuilder
impl Sync for DeletionWarningBuilder
impl Unpin for DeletionWarningBuilder
impl UnwindSafe for DeletionWarningBuilder
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.