pub struct ScaffoldConfig {
pub name: String,
pub minimal: bool,
pub force: bool,
}Expand description
Configuration for project scaffolding.
Fields§
§name: StringProject name (also used as directory name).
minimal: boolIf true, generate only Cargo.toml, src/lib.rs, .sdkt.toml.
force: boolIf true, overwrite existing directory.
Trait Implementations§
Source§impl Clone for ScaffoldConfig
impl Clone for ScaffoldConfig
Source§fn clone(&self) -> ScaffoldConfig
fn clone(&self) -> ScaffoldConfig
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 ScaffoldConfig
impl RefUnwindSafe for ScaffoldConfig
impl Send for ScaffoldConfig
impl Sync for ScaffoldConfig
impl Unpin for ScaffoldConfig
impl UnsafeUnpin for ScaffoldConfig
impl UnwindSafe for ScaffoldConfig
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