pub struct UserInvokableJob {
pub id: String,
pub display_name: String,
pub display_description: Option<String>,
pub icon: Option<String>,
pub category: String,
pub category_label: Option<String>,
pub category_icon: Option<String>,
pub category_order: Option<i64>,
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: StringFree-form category key (#792). The Client App groups jobs into one tab per distinct key.
category_label: Option<String>Operator-supplied display name for the category’s tab (from
client.category_label). None ⇒ the Client App uses a built-in
default for a well-known key, else the key itself.
category_icon: Option<String>Operator-supplied tab icon (lucide name or data: URL) for the
category (from client.category_icon). None ⇒ Client App default.
category_order: Option<i64>Operator-supplied sort order for the tab (from
client.category_order); lower sorts first. None ⇒ default.
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
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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>,
Source§impl JsonSchema for UserInvokableJob
impl JsonSchema for UserInvokableJob
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more