pub struct ScheduledTask {Show 23 fields
pub id: String,
pub name: String,
pub schedule: String,
pub parsed: ParsedSchedule,
pub prompt: String,
pub working_dir: String,
pub chat_id: String,
pub root_message_id: Option<String>,
pub scope: Option<String>,
pub chat_type: Option<ScheduleChatType>,
pub lark_app_id: Option<String>,
pub creator_chat_id: Option<String>,
pub creator_root_message_id: Option<String>,
pub creator_lark_app_id: Option<String>,
pub enabled: bool,
pub created_at: String,
pub last_run_at: Option<String>,
pub next_run_at: Option<String>,
pub last_status: Option<String>,
pub last_error: Option<String>,
pub last_delivery_error: Option<String>,
pub repeat: Option<ScheduleRepeat>,
pub deliver: ScheduleDeliver,
}Fields§
§id: String§name: String§schedule: String§parsed: ParsedSchedule§prompt: String§working_dir: String§chat_id: String§root_message_id: Option<String>§scope: Option<String>§chat_type: Option<ScheduleChatType>§lark_app_id: Option<String>§creator_chat_id: Option<String>§creator_root_message_id: Option<String>§creator_lark_app_id: Option<String>§enabled: bool§created_at: String§last_run_at: Option<String>§next_run_at: Option<String>§last_status: Option<String>§last_error: Option<String>§last_delivery_error: Option<String>§repeat: Option<ScheduleRepeat>§deliver: ScheduleDeliverTrait Implementations§
Source§impl Clone for ScheduledTask
impl Clone for ScheduledTask
Source§fn clone(&self) -> ScheduledTask
fn clone(&self) -> ScheduledTask
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 ScheduledTask
impl Debug for ScheduledTask
Source§impl<'de> Deserialize<'de> for ScheduledTask
impl<'de> Deserialize<'de> for ScheduledTask
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
impl Eq for ScheduledTask
Source§impl PartialEq for ScheduledTask
impl PartialEq for ScheduledTask
Source§fn eq(&self, other: &ScheduledTask) -> bool
fn eq(&self, other: &ScheduledTask) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScheduledTask
impl Serialize for ScheduledTask
impl StructuralPartialEq for ScheduledTask
Auto Trait Implementations§
impl Freeze for ScheduledTask
impl RefUnwindSafe for ScheduledTask
impl Send for ScheduledTask
impl Sync for ScheduledTask
impl Unpin for ScheduledTask
impl UnsafeUnpin for ScheduledTask
impl UnwindSafe for ScheduledTask
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