pub struct GitAgentContext {
pub slug: String,
pub branch: String,
pub workspace_ready: bool,
pub workspace_path: Option<String>,
pub sync_command: String,
}Expand description
Git worktree context for the current task.
Fields§
§slug: String§branch: String§workspace_ready: bool§workspace_path: Option<String>§sync_command: StringTrait Implementations§
Source§impl Clone for GitAgentContext
impl Clone for GitAgentContext
Source§fn clone(&self) -> GitAgentContext
fn clone(&self) -> GitAgentContext
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 GitAgentContext
impl Debug for GitAgentContext
impl Eq for GitAgentContext
Source§impl PartialEq for GitAgentContext
impl PartialEq for GitAgentContext
Source§fn eq(&self, other: &GitAgentContext) -> bool
fn eq(&self, other: &GitAgentContext) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GitAgentContext
impl Serialize for GitAgentContext
impl StructuralPartialEq for GitAgentContext
Auto Trait Implementations§
impl Freeze for GitAgentContext
impl RefUnwindSafe for GitAgentContext
impl Send for GitAgentContext
impl Sync for GitAgentContext
impl Unpin for GitAgentContext
impl UnsafeUnpin for GitAgentContext
impl UnwindSafe for GitAgentContext
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