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§
Source§impl NewProjectConfig
impl NewProjectConfig
pub fn get_project_name(&self) -> &String
pub fn get_mut_project_name(&mut self) -> &mut String
pub fn set_project_name(&mut self, val: String) -> &mut Self
pub fn get_template_url(&self) -> &String
pub fn get_mut_template_url(&mut self) -> &mut String
pub fn set_template_url(&mut self, val: String) -> &mut Self
Trait Implementations§
Source§impl Clone for NewProjectConfig
impl Clone for NewProjectConfig
Auto 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