pub struct NewProjectConfig {
pub project_name: String,
pub template_url: String,
}Expand description
Configuration for creating a new project
Fields§
§project_name: StringName of the project to create
template_url: StringURL of the template repository
Implementations§
Trait Implementations§
Source§impl Clone for NewProjectConfig
impl Clone for NewProjectConfig
Source§fn clone(&self) -> NewProjectConfig
fn clone(&self) -> NewProjectConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NewProjectConfig
impl RefUnwindSafe for NewProjectConfig
impl Send for NewProjectConfig
impl Sync for NewProjectConfig
impl Unpin for NewProjectConfig
impl UnsafeUnpin for NewProjectConfig
impl UnwindSafe for NewProjectConfig
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