pub struct CreateWorkingHourRecordBuilder { /* private fields */ }Expand description
Builder for CreateWorkingHourRecord.
Implementations§
Source§impl CreateWorkingHourRecordBuilder
impl CreateWorkingHourRecordBuilder
pub fn resource_type<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn resource_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn work_time<VALUE: Into<i64>>(&mut self, value: VALUE) -> &mut Self
pub fn work_description<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<CreateWorkingHourRecord, CreateWorkingHourRecordBuilderError>
pub fn build( &self, ) -> Result<CreateWorkingHourRecord, CreateWorkingHourRecordBuilderError>
Trait Implementations§
Source§impl Clone for CreateWorkingHourRecordBuilder
impl Clone for CreateWorkingHourRecordBuilder
Source§fn clone(&self) -> CreateWorkingHourRecordBuilder
fn clone(&self) -> CreateWorkingHourRecordBuilder
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 CreateWorkingHourRecordBuilder
impl RefUnwindSafe for CreateWorkingHourRecordBuilder
impl Send for CreateWorkingHourRecordBuilder
impl Sync for CreateWorkingHourRecordBuilder
impl Unpin for CreateWorkingHourRecordBuilder
impl UnwindSafe for CreateWorkingHourRecordBuilder
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