pub struct WorklogBuilder<'a> { /* private fields */ }Implementations§
Source§impl WorklogBuilder<'_>
impl WorklogBuilder<'_>
pub fn owner(self, owner: UserInfo) -> Self
Sourcepub fn description(self, description: impl Into<String>) -> Self
pub fn description(self, description: impl Into<String>) -> Self
Set the worklog description.
Sourcepub fn start_time(self, start_time: DateTime<Local>) -> Self
pub fn start_time(self, start_time: DateTime<Local>) -> Self
Set the worklog start time.
Sourcepub fn exchange_rate(self, exchange_rate: f64) -> Self
pub fn exchange_rate(self, exchange_rate: f64) -> Self
Set the exchange rate for cost calculation.
Sourcepub fn mark_first_response(self) -> Self
pub fn mark_first_response(self) -> Self
Mark as first response.
Sourcepub fn include_nonoperational_hours(self) -> Self
pub fn include_nonoperational_hours(self) -> Self
Include non-operational hours in time calculation.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for WorklogBuilder<'a>
impl<'a> !UnwindSafe for WorklogBuilder<'a>
impl<'a> Freeze for WorklogBuilder<'a>
impl<'a> Send for WorklogBuilder<'a>
impl<'a> Sync for WorklogBuilder<'a>
impl<'a> Unpin for WorklogBuilder<'a>
impl<'a> UnsafeUnpin for WorklogBuilder<'a>
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