pub struct StartViolationsReportBuilder { /* private fields */ }Expand description
Builder for StartViolationsReport.
Implementations§
Source§impl StartViolationsReportBuilder
impl StartViolationsReportBuilder
Sourcepub fn config<VALUE: Into<Vec<ViolationSetting>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn config<VALUE: Into<Vec<ViolationSetting>>>( &mut self, value: VALUE, ) -> &mut Self
Configuration for violations.
Sourcepub fn build(
&self,
) -> Result<StartViolationsReport, StartViolationsReportBuilderError>
pub fn build( &self, ) -> Result<StartViolationsReport, StartViolationsReportBuilderError>
Trait Implementations§
Source§impl Clone for StartViolationsReportBuilder
impl Clone for StartViolationsReportBuilder
Source§fn clone(&self) -> StartViolationsReportBuilder
fn clone(&self) -> StartViolationsReportBuilder
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for StartViolationsReportBuilder
impl RefUnwindSafe for StartViolationsReportBuilder
impl Send for StartViolationsReportBuilder
impl Sync for StartViolationsReportBuilder
impl Unpin for StartViolationsReportBuilder
impl UnsafeUnpin for StartViolationsReportBuilder
impl UnwindSafe for StartViolationsReportBuilder
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