pub struct Task {
pub is_default: Option<bool>,
pub billable_by_default: Option<bool>,
pub default_hourly_rate: Option<f64>,
pub is_active: Option<bool>,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub name: Option<String>,
pub id: Option<i64>,
}Fields§
§is_default: Option<bool>Whether this task should be automatically added to future projects.
billable_by_default: Option<bool>Used in determining whether default tasks should be marked billable when creating a new project.
default_hourly_rate: Option<f64>The hourly rate to use for this task when it is added to a project.
is_active: Option<bool>Whether this task is active or archived.
created_at: Option<String>Date and time the task was created.
updated_at: Option<String>Date and time the task was last updated.
name: Option<String>The name of the task.
id: Option<i64>Unique ID for the task.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Task
impl<'de> Deserialize<'de> for Task
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
Auto Trait Implementations§
impl Freeze for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnwindSafe for Task
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