pub struct WorkspaceCache {
pub written_at_unix_ms: Option<u64>,
pub worktree_expanded: HashMap<String, bool>,
pub project_expanded: HashMap<String, bool>,
pub tree_selected: usize,
pub cursor_identity: Option<CursorIdentity>,
pub muted_terminals: HashSet<String>,
pub acknowledged_outcomes: HashMap<String, u64>,
pub integration_prompt_version: Option<String>,
/* private fields */
}Fields§
§written_at_unix_ms: Option<u64>§worktree_expanded: HashMap<String, bool>§project_expanded: HashMap<String, bool>§tree_selected: usize§cursor_identity: Option<CursorIdentity>§muted_terminals: HashSet<String>Stable wsx terminal IDs muted in this local UI.
acknowledged_outcomes: HashMap<String, u64>Provider outcome revisions acknowledged by explicit interaction, keyed by terminal ID.
integration_prompt_version: Option<String>wsx version for which the user dismissed the integration setup prompt.
Implementations§
Trait Implementations§
Source§impl Clone for WorkspaceCache
impl Clone for WorkspaceCache
Source§fn clone(&self) -> WorkspaceCache
fn clone(&self) -> WorkspaceCache
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 Default for WorkspaceCache
impl Default for WorkspaceCache
Source§fn default() -> WorkspaceCache
fn default() -> WorkspaceCache
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkspaceCache
impl<'de> Deserialize<'de> for WorkspaceCache
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 WorkspaceCache
impl RefUnwindSafe for WorkspaceCache
impl Send for WorkspaceCache
impl Sync for WorkspaceCache
impl Unpin for WorkspaceCache
impl UnsafeUnpin for WorkspaceCache
impl UnwindSafe for WorkspaceCache
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