pub struct ImageJobSummary {
pub id: String,
pub status: ImageJobStatus,
pub created: u64,
pub updated: u64,
pub started: Option<u64>,
pub completed: Option<u64>,
pub progress: Option<ImageJobProgress>,
pub favorite: bool,
pub deleted: Option<u64>,
}Expand description
List-safe durable job state without request image bodies.
Fields§
§id: StringStable UUIDv7 job identifier.
status: ImageJobStatusCurrent durable lifecycle state.
created: u64Unix creation timestamp.
updated: u64Unix timestamp of the last durable transition.
started: Option<u64>Worker claim timestamp.
completed: Option<u64>Terminal transition timestamp.
progress: Option<ImageJobProgress>Latest bounded progress snapshot.
favorite: boolUser-selected gallery favorite state.
deleted: Option<u64>Soft-delete timestamp; deleted jobs are hidden from ordinary lists.
Trait Implementations§
Source§impl Clone for ImageJobSummary
impl Clone for ImageJobSummary
Source§fn clone(&self) -> ImageJobSummary
fn clone(&self) -> ImageJobSummary
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 ImageJobSummary
impl Debug for ImageJobSummary
Source§impl<'de> Deserialize<'de> for ImageJobSummary
impl<'de> Deserialize<'de> for ImageJobSummary
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 ImageJobSummary
Source§impl JsonSchema for ImageJobSummary
impl JsonSchema for ImageJobSummary
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ImageJobSummary
impl PartialEq for ImageJobSummary
Source§impl Serialize for ImageJobSummary
impl Serialize for ImageJobSummary
impl StructuralPartialEq for ImageJobSummary
Auto Trait Implementations§
impl Freeze for ImageJobSummary
impl RefUnwindSafe for ImageJobSummary
impl Send for ImageJobSummary
impl Sync for ImageJobSummary
impl Unpin for ImageJobSummary
impl UnsafeUnpin for ImageJobSummary
impl UnwindSafe for ImageJobSummary
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