pub enum NewFolder {
Existing {
path: String,
},
Create,
}Expand description
Where a new workspace’s folder comes from.
Variants§
Existing
A folder that exists on the engine’s machine.
Create
A fresh folder named after the workspace, in the workspaces folder (settings.json
workspaces_root, default ~/byob-workspaces).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NewFolder
impl<'de> Deserialize<'de> for NewFolder
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 NewFolder
impl StructuralPartialEq for NewFolder
Auto Trait Implementations§
impl Forget for NewFolder
impl Freeze for NewFolder
impl Move for NewFolder
impl RefUnwindSafe for NewFolder
impl Send for NewFolder
impl Sync for NewFolder
impl Unpin for NewFolder
impl UnsafeUnpin for NewFolder
impl UnwindSafe for NewFolder
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