pub struct ResolvedPath {
pub root: WorkspaceRoot,
pub workspace_path: WorkspacePath,
pub absolute: PathBuf,
pub kind: ResolvedPathKind,
pub symlink_target: Option<PathBuf>,
}Expand description
Resolved workspace path with canonicalization metadata.
Fields§
§root: WorkspaceRootWorkspace root used for resolution.
workspace_path: WorkspacePathOriginal validated workspace path.
absolute: PathBufAbsolute path selected for the requested access.
kind: ResolvedPathKindFilesystem kind observed at resolution time.
symlink_target: Option<PathBuf>Canonical symlink target, when the path itself is a symlink.
Trait Implementations§
Source§impl Clone for ResolvedPath
impl Clone for ResolvedPath
Source§impl Debug for ResolvedPath
impl Debug for ResolvedPath
Source§impl<'de> Deserialize<'de> for ResolvedPath
impl<'de> Deserialize<'de> for ResolvedPath
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
impl Eq for ResolvedPath
Source§impl PartialEq for ResolvedPath
impl PartialEq for ResolvedPath
Source§impl Serialize for ResolvedPath
impl Serialize for ResolvedPath
impl StructuralPartialEq for ResolvedPath
Auto Trait Implementations§
impl Freeze for ResolvedPath
impl RefUnwindSafe for ResolvedPath
impl Send for ResolvedPath
impl Sync for ResolvedPath
impl Unpin for ResolvedPath
impl UnsafeUnpin for ResolvedPath
impl UnwindSafe for ResolvedPath
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.