pub struct NewSiteArgs {Show 19 fields
pub name: String,
pub template: String,
pub destination: Option<PathBuf>,
pub copy: Option<String>,
pub empty: bool,
pub server: ServerIntegration,
pub tailwind: bool,
pub no_tailwind: bool,
pub docs: DocsIntegration,
pub blog: bool,
pub no_blog: bool,
pub deploy: DeployTarget,
pub skip_install: bool,
pub no_git: bool,
pub agents_md: bool,
pub no_agents_md: bool,
pub dry_run: Option<DryRunFormat>,
pub force: bool,
pub yes: bool,
}Fields§
§name: String§template: String§destination: Option<PathBuf>§copy: Option<String>§empty: bool§server: ServerIntegration§tailwind: bool§no_tailwind: bool§docs: DocsIntegration§blog: bool§no_blog: bool§deploy: DeployTarget§skip_install: bool§no_git: bool§agents_md: bool§no_agents_md: bool§dry_run: Option<DryRunFormat>§force: bool§yes: boolAuto Trait Implementations§
impl Freeze for NewSiteArgs
impl RefUnwindSafe for NewSiteArgs
impl Send for NewSiteArgs
impl Sync for NewSiteArgs
impl Unpin for NewSiteArgs
impl UnsafeUnpin for NewSiteArgs
impl UnwindSafe for NewSiteArgs
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> 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