pub struct SessionWorktree {
pub path: String,
pub branch: String,
pub created_by_codeoid: bool,
}Expand description
A git worktree backing a session’s workdir. created_by_codeoid marks a
worktree codeoid created for fork isolation (removed on destroy) versus one
the user bound (never touched).
Fields§
§path: String§branch: String§created_by_codeoid: boolTrait Implementations§
Source§impl Clone for SessionWorktree
impl Clone for SessionWorktree
Source§fn clone(&self) -> SessionWorktree
fn clone(&self) -> SessionWorktree
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 SessionWorktree
impl Debug for SessionWorktree
Source§impl<'de> Deserialize<'de> for SessionWorktree
impl<'de> Deserialize<'de> for SessionWorktree
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
Auto Trait Implementations§
impl Freeze for SessionWorktree
impl RefUnwindSafe for SessionWorktree
impl Send for SessionWorktree
impl Sync for SessionWorktree
impl Unpin for SessionWorktree
impl UnsafeUnpin for SessionWorktree
impl UnwindSafe for SessionWorktree
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