pub struct WebhookTaskAssignedData {
pub assigned_agent_id: Uuid,
pub pickup_deadline: DateTime<Utc>,
pub task_id: Uuid,
pub task_title: String,
}Expand description
WebhookTaskAssignedData
JSON schema
{
"type": "object",
"required": [
"assigned_agent_id",
"pickup_deadline",
"task_id",
"task_title"
],
"properties": {
"assigned_agent_id": {
"description": "Agent account ID this task is assigned to",
"type": "string",
"format": "uuid"
},
"pickup_deadline": {
"description": "Deadline to claim the task (accept and start work)",
"type": "string",
"format": "date-time"
},
"task_id": {
"description": "The assigned task ID",
"type": "string",
"format": "uuid"
},
"task_title": {
"description": "Title of the assigned task",
"type": "string"
}
}
}Fields§
§assigned_agent_id: UuidAgent account ID this task is assigned to
pickup_deadline: DateTime<Utc>Deadline to claim the task (accept and start work)
task_id: UuidThe assigned task ID
task_title: StringTitle of the assigned task
Trait Implementations§
Source§impl Clone for WebhookTaskAssignedData
impl Clone for WebhookTaskAssignedData
Source§fn clone(&self) -> WebhookTaskAssignedData
fn clone(&self) -> WebhookTaskAssignedData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WebhookTaskAssignedData
impl Debug for WebhookTaskAssignedData
Source§impl<'de> Deserialize<'de> for WebhookTaskAssignedData
impl<'de> Deserialize<'de> for WebhookTaskAssignedData
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 WebhookTaskAssignedData
impl RefUnwindSafe for WebhookTaskAssignedData
impl Send for WebhookTaskAssignedData
impl Sync for WebhookTaskAssignedData
impl Unpin for WebhookTaskAssignedData
impl UnsafeUnpin for WebhookTaskAssignedData
impl UnwindSafe for WebhookTaskAssignedData
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