#[non_exhaustive]pub struct DeletionWarning {
pub configuration_id: Option<String>,
pub warning_code: i32,
pub warning_text: Option<String>,
}Expand description
A configuration ID paired with a warning message.
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.configuration_id: Option<String>The unique identifier of the configuration that produced a warning.
warning_code: i32The integer warning code associated with the warning message.
warning_text: Option<String>A descriptive message of the warning the associated configuration ID produced.
Implementations§
source§impl DeletionWarning
impl DeletionWarning
sourcepub fn configuration_id(&self) -> Option<&str>
pub fn configuration_id(&self) -> Option<&str>
The unique identifier of the configuration that produced a warning.
sourcepub fn warning_code(&self) -> i32
pub fn warning_code(&self) -> i32
The integer warning code associated with the warning message.
sourcepub fn warning_text(&self) -> Option<&str>
pub fn warning_text(&self) -> Option<&str>
A descriptive message of the warning the associated configuration ID produced.
source§impl DeletionWarning
impl DeletionWarning
sourcepub fn builder() -> DeletionWarningBuilder
pub fn builder() -> DeletionWarningBuilder
Creates a new builder-style object to manufacture DeletionWarning.
Trait Implementations§
source§impl Clone for DeletionWarning
impl Clone for DeletionWarning
source§fn clone(&self) -> DeletionWarning
fn clone(&self) -> DeletionWarning
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 DeletionWarning
impl Debug for DeletionWarning
source§impl PartialEq for DeletionWarning
impl PartialEq for DeletionWarning
source§fn eq(&self, other: &DeletionWarning) -> bool
fn eq(&self, other: &DeletionWarning) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DeletionWarning
Auto Trait Implementations§
impl RefUnwindSafe for DeletionWarning
impl Send for DeletionWarning
impl Sync for DeletionWarning
impl Unpin for DeletionWarning
impl UnwindSafe for DeletionWarning
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.