pub struct TimeTrackingConfiguration {
pub working_hours_per_day: f64,
pub working_days_per_week: f64,
pub time_format: TimeFormat,
pub default_unit: DefaultUnit,
}
Expand description
TimeTrackingConfiguration : Details of the time tracking configuration.
Fields§
§working_hours_per_day: f64
The number of hours in a working day.
working_days_per_week: f64
The number of days in a working week.
time_format: TimeFormat
The format that will appear on an issue’s Time Spent field.
default_unit: DefaultUnit
The default unit of time applied to logged time.
Implementations§
Source§impl TimeTrackingConfiguration
impl TimeTrackingConfiguration
Sourcepub fn new(
working_hours_per_day: f64,
working_days_per_week: f64,
time_format: TimeFormat,
default_unit: DefaultUnit,
) -> TimeTrackingConfiguration
pub fn new( working_hours_per_day: f64, working_days_per_week: f64, time_format: TimeFormat, default_unit: DefaultUnit, ) -> TimeTrackingConfiguration
Details of the time tracking configuration.
Trait Implementations§
Source§impl Clone for TimeTrackingConfiguration
impl Clone for TimeTrackingConfiguration
Source§fn clone(&self) -> TimeTrackingConfiguration
fn clone(&self) -> TimeTrackingConfiguration
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 moreSource§impl Debug for TimeTrackingConfiguration
impl Debug for TimeTrackingConfiguration
Source§impl Default for TimeTrackingConfiguration
impl Default for TimeTrackingConfiguration
Source§fn default() -> TimeTrackingConfiguration
fn default() -> TimeTrackingConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimeTrackingConfiguration
impl<'de> Deserialize<'de> for TimeTrackingConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for TimeTrackingConfiguration
Auto Trait Implementations§
impl Freeze for TimeTrackingConfiguration
impl RefUnwindSafe for TimeTrackingConfiguration
impl Send for TimeTrackingConfiguration
impl Sync for TimeTrackingConfiguration
impl Unpin for TimeTrackingConfiguration
impl UnwindSafe for TimeTrackingConfiguration
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