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