pub struct WorkspaceInfo {
pub name: String,
pub path: String,
pub is_internal_dependency: bool,
}Expand description
One workspace package emitted by fallow workspaces --format json.
Fields§
§name: StringPackage name from the workspace package.json. This is the value accepted
by --workspace <name>.
path: StringProject-root-relative path to the workspace directory, normalized to forward slashes for cross-platform JSON consumers.
is_internal_dependency: boolWhether the package is a generated or platform-specific dependency package rather than a hand-authored workspace.
Trait Implementations§
Source§impl Clone for WorkspaceInfo
impl Clone for WorkspaceInfo
Source§impl Debug for WorkspaceInfo
impl Debug for WorkspaceInfo
Auto Trait Implementations§
impl Freeze for WorkspaceInfo
impl RefUnwindSafe for WorkspaceInfo
impl Send for WorkspaceInfo
impl Sync for WorkspaceInfo
impl Unpin for WorkspaceInfo
impl UnsafeUnpin for WorkspaceInfo
impl UnwindSafe for WorkspaceInfo
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