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