pub struct WorkspaceInitParams {
pub dir: PathBuf,
}Expand description
Parameters of WORKSPACE_INIT.
Fields§
§dir: PathBufWhere the workspace root goes, relative to nothing: absolute, or relative to the process’s cwd, resolved by the server.
Trait Implementations§
Source§impl Clone for WorkspaceInitParams
impl Clone for WorkspaceInitParams
Source§impl Debug for WorkspaceInitParams
impl Debug for WorkspaceInitParams
Source§impl<'de> Deserialize<'de> for WorkspaceInitParams
impl<'de> Deserialize<'de> for WorkspaceInitParams
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 WorkspaceInitParams
impl RefUnwindSafe for WorkspaceInitParams
impl Send for WorkspaceInitParams
impl Sync for WorkspaceInitParams
impl Unpin for WorkspaceInitParams
impl UnsafeUnpin for WorkspaceInitParams
impl UnwindSafe for WorkspaceInitParams
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