pub struct PersistedWorktreeSession {
pub original_cwd: String,
pub worktree_path: String,
pub worktree_name: String,
pub session_id: String,
pub worktree_branch: Option<String>,
pub original_branch: Option<String>,
pub original_head_commit: Option<String>,
pub tmux_session_name: Option<String>,
pub hook_based: Option<bool>,
}Fields§
§original_cwd: String§worktree_path: String§worktree_name: String§session_id: String§worktree_branch: Option<String>§original_branch: Option<String>§original_head_commit: Option<String>§tmux_session_name: Option<String>§hook_based: Option<bool>Trait Implementations§
Source§impl Clone for PersistedWorktreeSession
impl Clone for PersistedWorktreeSession
Source§fn clone(&self) -> PersistedWorktreeSession
fn clone(&self) -> PersistedWorktreeSession
Returns a duplicate of the value. Read more
1.0.0 · 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 PersistedWorktreeSession
impl Debug for PersistedWorktreeSession
Source§impl<'de> Deserialize<'de> for PersistedWorktreeSession
impl<'de> Deserialize<'de> for PersistedWorktreeSession
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 PersistedWorktreeSession
impl RefUnwindSafe for PersistedWorktreeSession
impl Send for PersistedWorktreeSession
impl Sync for PersistedWorktreeSession
impl Unpin for PersistedWorktreeSession
impl UnsafeUnpin for PersistedWorktreeSession
impl UnwindSafe for PersistedWorktreeSession
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