#[non_exhaustive]pub struct CodeWorkerStatus {
pub enabled: bool,
pub interval_seconds: Integer,
pub last_run_at: String,
pub last_duration_ms: Integer,
pub consecutive_failures: Integer,
pub total_runs: Integer,
pub last_error: String,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.enabled: bool§interval_seconds: Integer§last_run_at: String§last_duration_ms: Integer§consecutive_failures: Integer§total_runs: Integer§last_error: StringTrait Implementations§
Source§impl Clone for CodeWorkerStatus
impl Clone for CodeWorkerStatus
Source§impl Debug for CodeWorkerStatus
impl Debug for CodeWorkerStatus
Source§impl<'de> Deserialize<'de> for CodeWorkerStatus
impl<'de> Deserialize<'de> for CodeWorkerStatus
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
Source§impl PartialEq for CodeWorkerStatus
impl PartialEq for CodeWorkerStatus
Source§impl Serialize for CodeWorkerStatus
impl Serialize for CodeWorkerStatus
impl StructuralPartialEq for CodeWorkerStatus
Auto Trait Implementations§
impl Forget for CodeWorkerStatus
impl Freeze for CodeWorkerStatus
impl Move for CodeWorkerStatus
impl RefUnwindSafe for CodeWorkerStatus
impl Send for CodeWorkerStatus
impl Sync for CodeWorkerStatus
impl Unpin for CodeWorkerStatus
impl UnsafeUnpin for CodeWorkerStatus
impl UnwindSafe for CodeWorkerStatus
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