pub struct JjAgentContext {
pub slug: String,
pub skill: &'static str,
pub workspace_registered: bool,
pub workspace_path: Option<String>,
pub task_phase: Option<String>,
pub repos: Vec<RepoWorkspaceStatus>,
pub start_command: String,
pub path_command: String,
pub repo_init_command: &'static str,
}Expand description
jj-task / agent-skill-jj context for the current task.
Fields§
§slug: String§skill: &'static str§workspace_registered: bool§workspace_path: Option<String>§task_phase: Option<String>§repos: Vec<RepoWorkspaceStatus>§start_command: String§path_command: String§repo_init_command: &'static strTrait Implementations§
Source§impl Clone for JjAgentContext
impl Clone for JjAgentContext
Source§fn clone(&self) -> JjAgentContext
fn clone(&self) -> JjAgentContext
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 JjAgentContext
impl Debug for JjAgentContext
impl Eq for JjAgentContext
Source§impl PartialEq for JjAgentContext
impl PartialEq for JjAgentContext
Source§fn eq(&self, other: &JjAgentContext) -> bool
fn eq(&self, other: &JjAgentContext) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for JjAgentContext
impl Serialize for JjAgentContext
impl StructuralPartialEq for JjAgentContext
Auto Trait Implementations§
impl Freeze for JjAgentContext
impl RefUnwindSafe for JjAgentContext
impl Send for JjAgentContext
impl Sync for JjAgentContext
impl Unpin for JjAgentContext
impl UnsafeUnpin for JjAgentContext
impl UnwindSafe for JjAgentContext
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