pub struct CrdbTask {
pub task_id: String,
pub crdb_guid: String,
pub task_type: String,
pub status: String,
pub progress: Option<f32>,
pub start_time: Option<String>,
pub end_time: Option<String>,
pub error: Option<String>,
pub extra: Value,
}
Expand description
CRDB task information
Fields§
§task_id: String
Unique task identifier
crdb_guid: String
Globally unique Active-Active database ID (GUID)
task_type: String
Type of task being executed
status: String
Current status of the task (queued, running, completed, failed)
progress: Option<f32>
Task completion progress as a percentage (0.0-100.0)
start_time: Option<String>
Timestamp when the task was started (ISO 8601 format)
end_time: Option<String>
Timestamp when the task was completed or failed (ISO 8601 format)
error: Option<String>
Error description if the task failed
extra: Value
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CrdbTask
impl<'de> Deserialize<'de> for CrdbTask
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 CrdbTask
impl RefUnwindSafe for CrdbTask
impl Send for CrdbTask
impl Sync for CrdbTask
impl Unpin for CrdbTask
impl UnwindSafe for CrdbTask
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