pub enum SubagentWorktreeBase {
WorkingTree,
Head,
}Expand description
Snapshot source used when creating a child Git worktree.
Variants§
WorkingTree
Snapshot the parent’s current working tree (tracked diff + small untracked files) on top of HEAD (default).
Head
Checkout clean HEAD without uncommitted working-tree edits.
Implementations§
Trait Implementations§
Source§impl Clone for SubagentWorktreeBase
impl Clone for SubagentWorktreeBase
impl Copy for SubagentWorktreeBase
Source§impl Debug for SubagentWorktreeBase
impl Debug for SubagentWorktreeBase
Source§impl Default for SubagentWorktreeBase
impl Default for SubagentWorktreeBase
Source§impl<'de> Deserialize<'de> for SubagentWorktreeBase
impl<'de> Deserialize<'de> for SubagentWorktreeBase
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 SubagentWorktreeBase
Source§impl JsonSchema for SubagentWorktreeBase
impl JsonSchema for SubagentWorktreeBase
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 SubagentWorktreeBase
impl PartialEq for SubagentWorktreeBase
Source§impl Serialize for SubagentWorktreeBase
impl Serialize for SubagentWorktreeBase
impl StructuralPartialEq for SubagentWorktreeBase
Auto Trait Implementations§
impl Forget for SubagentWorktreeBase
impl Freeze for SubagentWorktreeBase
impl Move for SubagentWorktreeBase
impl RefUnwindSafe for SubagentWorktreeBase
impl Send for SubagentWorktreeBase
impl Sync for SubagentWorktreeBase
impl Unpin for SubagentWorktreeBase
impl UnsafeUnpin for SubagentWorktreeBase
impl UnwindSafe for SubagentWorktreeBase
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.