pub struct TaskMetadata {Show 15 fields
pub id: String,
pub name: String,
pub task_type: TaskType,
pub priority: TaskPriority,
pub created_at: SystemTime,
pub owner: String,
pub project: String,
pub description: String,
pub tags: Vec<String>,
pub estimated_duration: Option<Duration>,
pub estimated_output_size: Option<u64>,
pub cost_budget: Option<f64>,
pub version: String,
pub dependencies: Vec<String>,
pub custom_fields: HashMap<String, String>,
}Expand description
Comprehensive task metadata for identification and classification
Fields§
§id: StringUnique task identifier
name: StringHuman-readable task name
task_type: TaskTypeTask type classification
priority: TaskPriorityTask priority level
created_at: SystemTimeTask creation timestamp
owner: StringTask owner or creator
project: StringProject or workspace association
description: StringTask description
Task tags for categorization
estimated_duration: Option<Duration>Estimated execution duration
estimated_output_size: Option<u64>Expected output size
cost_budget: Option<f64>Cost budget allocation
version: StringTask version for reproducibility
dependencies: Vec<String>Task dependencies (other task IDs)
custom_fields: HashMap<String, String>Custom metadata fields
Trait Implementations§
Source§impl Clone for TaskMetadata
impl Clone for TaskMetadata
Source§fn clone(&self) -> TaskMetadata
fn clone(&self) -> TaskMetadata
Returns a duplicate of the value. Read more
1.0.0 · 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 TaskMetadata
impl Debug for TaskMetadata
Auto Trait Implementations§
impl Freeze for TaskMetadata
impl RefUnwindSafe for TaskMetadata
impl Send for TaskMetadata
impl Sync for TaskMetadata
impl Unpin for TaskMetadata
impl UnwindSafe for TaskMetadata
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more