pub struct WorktreeStateEntry {
pub session_id: String,
pub worktree_session: Option<PersistedWorktreeSession>,
}Fields§
§session_id: String§worktree_session: Option<PersistedWorktreeSession>null when the worktree session was exited; Some when active.
Trait Implementations§
Source§impl Clone for WorktreeStateEntry
impl Clone for WorktreeStateEntry
Source§fn clone(&self) -> WorktreeStateEntry
fn clone(&self) -> WorktreeStateEntry
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 WorktreeStateEntry
impl Debug for WorktreeStateEntry
Source§impl<'de> Deserialize<'de> for WorktreeStateEntry
impl<'de> Deserialize<'de> for WorktreeStateEntry
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 WorktreeStateEntry
impl RefUnwindSafe for WorktreeStateEntry
impl Send for WorktreeStateEntry
impl Sync for WorktreeStateEntry
impl Unpin for WorktreeStateEntry
impl UnsafeUnpin for WorktreeStateEntry
impl UnwindSafe for WorktreeStateEntry
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