pub struct ScheduledTaskResponse {Show 14 fields
pub id: Uuid,
pub task_type: String,
pub label: String,
pub interval_seconds: i32,
pub jitter_seconds: i32,
pub enabled: bool,
pub task_config: Option<Value>,
pub last_run_at: Option<OffsetDateTime>,
pub next_run_at: OffsetDateTime,
pub is_running: bool,
pub last_error: Option<String>,
pub run_count: i64,
pub created_at: OffsetDateTime,
pub updated_at: OffsetDateTime,
}Expand description
Response for a single scheduled task.
Fields§
§id: Uuid§task_type: String§label: String§interval_seconds: i32§jitter_seconds: i32§enabled: bool§task_config: Option<Value>§last_run_at: Option<OffsetDateTime>§next_run_at: OffsetDateTime§is_running: bool§last_error: Option<String>§run_count: i64§created_at: OffsetDateTime§updated_at: OffsetDateTimeTrait Implementations§
Source§impl<'de> Deserialize<'de> for ScheduledTaskResponse
impl<'de> Deserialize<'de> for ScheduledTaskResponse
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 ScheduledTaskResponse
impl RefUnwindSafe for ScheduledTaskResponse
impl Send for ScheduledTaskResponse
impl Sync for ScheduledTaskResponse
impl Unpin for ScheduledTaskResponse
impl UnsafeUnpin for ScheduledTaskResponse
impl UnwindSafe for ScheduledTaskResponse
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
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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