pub struct WorkspacesOutput<Diagnostic> {
pub workspace_count: usize,
pub workspaces: Vec<WorkspaceInfo>,
pub workspace_diagnostics: Vec<Diagnostic>,
}Expand description
fallow workspaces --format json envelope.
Fields§
§workspace_count: usizeNumber of workspace package entries in workspaces.
workspaces: Vec<WorkspaceInfo>Workspace packages discovered from package manager and tsconfig workspace declarations. Paths are project-root-relative and use forward slashes.
workspace_diagnostics: Vec<Diagnostic>Workspace discovery diagnostics produced while reading workspace
declarations. Paths are project-root-relative and use forward slashes,
like workspaces[].path and like the workspace_diagnostics[] array on
the analysis envelopes. Present for compatibility with the current wire
contract, even when empty.
Trait Implementations§
Source§impl<Diagnostic: Clone> Clone for WorkspacesOutput<Diagnostic>
impl<Diagnostic: Clone> Clone for WorkspacesOutput<Diagnostic>
Source§impl<Diagnostic: Debug> Debug for WorkspacesOutput<Diagnostic>
impl<Diagnostic: Debug> Debug for WorkspacesOutput<Diagnostic>
Auto Trait Implementations§
impl<Diagnostic> Freeze for WorkspacesOutput<Diagnostic>
impl<Diagnostic> RefUnwindSafe for WorkspacesOutput<Diagnostic>where
Vec<Diagnostic>: RefUnwindSafe,
impl<Diagnostic> Send for WorkspacesOutput<Diagnostic>
impl<Diagnostic> Sync for WorkspacesOutput<Diagnostic>
impl<Diagnostic> Unpin for WorkspacesOutput<Diagnostic>
impl<Diagnostic> UnsafeUnpin for WorkspacesOutput<Diagnostic>where
Vec<Diagnostic>: UnsafeUnpin,
impl<Diagnostic> UnwindSafe for WorkspacesOutput<Diagnostic>where
Vec<Diagnostic>: UnwindSafe,
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