pub struct CreateTaskAssignmentRequest<'a> {
pub project_id: String,
pub task_id: Option<i64>,
pub is_active: Option<bool>,
pub billable: Option<bool>,
pub hourly_rate: Option<f64>,
pub budget: Option<f64>,
/* private fields */
}Expand description
Create this with the associated client method.
That method takes required values as arguments. Set optional values using builder methods on this struct.
Fields§
§project_id: String§task_id: Option<i64>§is_active: Option<bool>§billable: Option<bool>§hourly_rate: Option<f64>§budget: Option<f64>Implementations§
Source§impl<'a> CreateTaskAssignmentRequest<'a>
impl<'a> CreateTaskAssignmentRequest<'a>
pub async fn send(self) -> Result<TaskAssignment>
pub fn task_id(self, task_id: i64) -> Self
pub fn is_active(self, is_active: bool) -> Self
pub fn billable(self, billable: bool) -> Self
pub fn hourly_rate(self, hourly_rate: f64) -> Self
pub fn budget(self, budget: f64) -> Self
Auto Trait Implementations§
impl<'a> Freeze for CreateTaskAssignmentRequest<'a>
impl<'a> !RefUnwindSafe for CreateTaskAssignmentRequest<'a>
impl<'a> Send for CreateTaskAssignmentRequest<'a>
impl<'a> Sync for CreateTaskAssignmentRequest<'a>
impl<'a> Unpin for CreateTaskAssignmentRequest<'a>
impl<'a> !UnwindSafe for CreateTaskAssignmentRequest<'a>
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