pub struct Task {
pub id: Uuid,
pub user_id: String,
pub name: String,
pub description: String,
pub agent: String,
pub prompt: String,
pub schedule: Option<String>,
pub at: Option<DateTime<FixedOffset>>,
pub timezone: Option<String>,
pub family_id: Option<FamilyId>,
pub enabled: bool,
pub next_run: Option<DateTime<Utc>>,
}Fields§
§id: Uuid§user_id: String§name: String§description: String§agent: String§prompt: String§schedule: Option<String>§at: Option<DateTime<FixedOffset>>§timezone: Option<String>§family_id: Option<FamilyId>§enabled: bool§next_run: Option<DateTime<Utc>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Task
impl<'de> Deserialize<'de> for Task
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 Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnsafeUnpin for Task
impl UnwindSafe for Task
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