pub struct NewSiteOptions {Show 14 fields
pub path: PathBuf,
pub destination: Option<PathBuf>,
pub title: Option<String>,
pub template: String,
pub overrides: CapabilityOverrides,
pub vscode: bool,
pub agents_md: bool,
pub no_git: bool,
pub verify: bool,
pub start: bool,
pub open: bool,
pub offline: bool,
pub dry_run: Option<DryRunFormat>,
pub json: bool,
}Fields§
§path: PathBuf§destination: Option<PathBuf>§title: Option<String>§template: String§overrides: CapabilityOverrides§vscode: bool§agents_md: bool§no_git: bool§verify: bool§start: bool§open: bool§offline: bool§dry_run: Option<DryRunFormat>§json: boolTrait Implementations§
Source§impl Clone for NewSiteOptions
impl Clone for NewSiteOptions
Auto Trait Implementations§
impl Forget for NewSiteOptions
impl Freeze for NewSiteOptions
impl Move for NewSiteOptions
impl RefUnwindSafe for NewSiteOptions
impl Send for NewSiteOptions
impl Sync for NewSiteOptions
impl Unpin for NewSiteOptions
impl UnsafeUnpin for NewSiteOptions
impl UnwindSafe for NewSiteOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more