pub struct TaskAssignment {
pub task: Option<Value>,
pub is_active: Option<bool>,
pub budget: Option<f64>,
pub billable: Option<bool>,
pub hourly_rate: Option<f64>,
pub updated_at: Option<String>,
pub id: Option<i64>,
pub project: Option<Value>,
pub created_at: Option<String>,
}Fields§
§task: Option<Value>An object containing the id and name of the associated task.
is_active: Option<bool>Whether the task assignment is active or archived.
budget: Option<f64>Budget used when the project’s budget_by is task or task_fees.
billable: Option<bool>Whether the task assignment is billable or not. For example: if set to true, all time tracked on this project for the associated task will be marked as billable.
hourly_rate: Option<f64>Rate used when the project’s bill_by is Tasks.
updated_at: Option<String>Date and time the task assignment was last updated.
id: Option<i64>Unique ID for the task assignment.
project: Option<Value>An object containing the id, name, and code of the associated project.
created_at: Option<String>Date and time the task assignment was created.
Trait Implementations§
Source§impl Debug for TaskAssignment
impl Debug for TaskAssignment
Source§impl<'de> Deserialize<'de> for TaskAssignment
impl<'de> Deserialize<'de> for TaskAssignment
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 Display for TaskAssignment
impl Display for TaskAssignment
Auto Trait Implementations§
impl Freeze for TaskAssignment
impl RefUnwindSafe for TaskAssignment
impl Send for TaskAssignment
impl Sync for TaskAssignment
impl Unpin for TaskAssignment
impl UnwindSafe for TaskAssignment
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