pub struct EdgeTask {
pub id: Uuid,
pub task_type: TaskType,
pub payload: Value,
pub priority: TaskPriority,
pub assigned_node: Option<Uuid>,
pub status: TaskStatus,
pub created_at: DateTime<Utc>,
pub started_at: Option<DateTime<Utc>>,
pub completed_at: Option<DateTime<Utc>>,
pub result: Option<Value>,
}Expand description
Edge task
Fields§
§id: Uuid§task_type: TaskType§payload: Value§priority: TaskPriority§assigned_node: Option<Uuid>§status: TaskStatus§created_at: DateTime<Utc>§started_at: Option<DateTime<Utc>>§completed_at: Option<DateTime<Utc>>§result: Option<Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for EdgeTask
impl<'de> Deserialize<'de> for EdgeTask
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 EdgeTask
impl RefUnwindSafe for EdgeTask
impl Send for EdgeTask
impl Sync for EdgeTask
impl Unpin for EdgeTask
impl UnsafeUnpin for EdgeTask
impl UnwindSafe for EdgeTask
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