pub struct TimesheetSettings {
pub max_hours_per_day: Option<f64>,
pub min_hours_per_day: Option<f64>,
pub default_project_name: Option<String>,
}Fields§
§max_hours_per_day: Option<f64>§min_hours_per_day: Option<f64>§default_project_name: Option<String>Implementations§
Source§impl TimesheetSettings
impl TimesheetSettings
pub fn new() -> TimesheetSettings
Trait Implementations§
Source§impl Clone for TimesheetSettings
impl Clone for TimesheetSettings
Source§fn clone(&self) -> TimesheetSettings
fn clone(&self) -> TimesheetSettings
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 TimesheetSettings
impl Debug for TimesheetSettings
Source§impl Default for TimesheetSettings
impl Default for TimesheetSettings
Source§fn default() -> TimesheetSettings
fn default() -> TimesheetSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimesheetSettings
impl<'de> Deserialize<'de> for TimesheetSettings
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
Source§impl PartialEq for TimesheetSettings
impl PartialEq for TimesheetSettings
Source§impl Serialize for TimesheetSettings
impl Serialize for TimesheetSettings
impl StructuralPartialEq for TimesheetSettings
Auto Trait Implementations§
impl Freeze for TimesheetSettings
impl RefUnwindSafe for TimesheetSettings
impl Send for TimesheetSettings
impl Sync for TimesheetSettings
impl Unpin for TimesheetSettings
impl UnwindSafe for TimesheetSettings
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