pub enum WorkspaceSubcommand {
List,
Show,
New(String),
Select(String),
Delete(String),
}Expand description
The workspace subcommand to execute.
Variants§
List
List all workspaces.
Show
Show the current workspace name.
New(String)
Create a new workspace.
Select(String)
Switch to an existing workspace.
Delete(String)
Delete a workspace.
Trait Implementations§
Source§impl Clone for WorkspaceSubcommand
impl Clone for WorkspaceSubcommand
Source§fn clone(&self) -> WorkspaceSubcommand
fn clone(&self) -> WorkspaceSubcommand
Returns a duplicate of the value. Read more
1.0.0 · 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 WorkspaceSubcommand
impl RefUnwindSafe for WorkspaceSubcommand
impl Send for WorkspaceSubcommand
impl Sync for WorkspaceSubcommand
impl Unpin for WorkspaceSubcommand
impl UnsafeUnpin for WorkspaceSubcommand
impl UnwindSafe for WorkspaceSubcommand
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