pub struct UserInvokableJob {
pub id: String,
pub display_name: String,
pub display_description: Option<String>,
pub icon: Option<String>,
pub category: JobCategory,
pub version: String,
pub last_run: Option<JobRun>,
}Expand description
One entry in jobs.list — the SPEC §2.12.11 reference shape,
extended with the description field used by the manifest’s
existing display_description.
Fields§
§id: StringManifest id (matches everywhere else — Command.id,
ExecResult.manifest_id).
display_name: Stringdisplay_name from the manifest.
display_description: Option<String>display_description from the manifest. Renders as the row’s
subtitle in the Client App.
icon: Option<String>Optional icon hint (lucide-react name or a data: URL).
None means the SPA falls back to the category’s default
icon.
category: JobCategory§version: StringPinned version string from the manifest. Same field as
Manifest.version.
last_run: Option<JobRun>Snapshot of the last KLP-driven run of this job FOR THIS
USER. None until they’ve executed it at least once.
Backend keeps the cross-user / cross-PC history separately
(operator-only executions table).
Trait Implementations§
Source§impl Clone for UserInvokableJob
impl Clone for UserInvokableJob
Source§fn clone(&self) -> UserInvokableJob
fn clone(&self) -> UserInvokableJob
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 UserInvokableJob
impl Debug for UserInvokableJob
Source§impl<'de> Deserialize<'de> for UserInvokableJob
impl<'de> Deserialize<'de> for UserInvokableJob
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 JsonSchema for UserInvokableJob
impl JsonSchema for UserInvokableJob
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 moreAuto Trait Implementations§
impl Freeze for UserInvokableJob
impl RefUnwindSafe for UserInvokableJob
impl Send for UserInvokableJob
impl Sync for UserInvokableJob
impl Unpin for UserInvokableJob
impl UnsafeUnpin for UserInvokableJob
impl UnwindSafe for UserInvokableJob
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