Struct dev_scope::shared::prelude::DoctorGroupActionBuilder
source · pub struct DoctorGroupActionBuilder { /* private fields */ }Expand description
Builder for DoctorGroupAction.
Implementations§
source§impl DoctorGroupActionBuilder
impl DoctorGroupActionBuilder
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn description<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn fix<VALUE: Into<DoctorGroupActionFix>>( &mut self, value: VALUE ) -> &mut Self
pub fn check<VALUE: Into<DoctorGroupActionCheck>>( &mut self, value: VALUE ) -> &mut Self
pub fn required<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn build(&self) -> Result<DoctorGroupAction, DoctorGroupActionBuilderError>
pub fn build(&self) -> Result<DoctorGroupAction, DoctorGroupActionBuilderError>
Trait Implementations§
source§impl Clone for DoctorGroupActionBuilder
impl Clone for DoctorGroupActionBuilder
source§fn clone(&self) -> DoctorGroupActionBuilder
fn clone(&self) -> DoctorGroupActionBuilder
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 moreAuto Trait Implementations§
impl Freeze for DoctorGroupActionBuilder
impl RefUnwindSafe for DoctorGroupActionBuilder
impl Send for DoctorGroupActionBuilder
impl Sync for DoctorGroupActionBuilder
impl Unpin for DoctorGroupActionBuilder
impl UnwindSafe for DoctorGroupActionBuilder
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