pub struct EnsuredWorkspaceId {
pub id: String,
pub created: bool,
}Expand description
Outcome of PathResolver::ensure_workspace_storage_entry.
Fields§
§id: StringThe 32-hex-char id Cursor will see / does see for this workspace.
created: booltrue if we created a new workspaceStorage/<id>/workspace.json
just now (folder hadn’t been opened in Cursor before).
Trait Implementations§
Source§impl Clone for EnsuredWorkspaceId
impl Clone for EnsuredWorkspaceId
Source§fn clone(&self) -> EnsuredWorkspaceId
fn clone(&self) -> EnsuredWorkspaceId
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 moreAuto Trait Implementations§
impl Freeze for EnsuredWorkspaceId
impl RefUnwindSafe for EnsuredWorkspaceId
impl Send for EnsuredWorkspaceId
impl Sync for EnsuredWorkspaceId
impl Unpin for EnsuredWorkspaceId
impl UnsafeUnpin for EnsuredWorkspaceId
impl UnwindSafe for EnsuredWorkspaceId
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