pub struct NewSiteOptions {Show 15 fields
pub name: String,
pub root: PathBuf,
pub template: String,
pub empty: bool,
pub server: ServerIntegration,
pub tailwind: bool,
pub docs: DocsIntegration,
pub blog: bool,
pub deploy: DeployTarget,
pub skip_install: bool,
pub no_git: bool,
pub agents_md: bool,
pub dry_run: Option<DryRunFormat>,
pub force: bool,
pub yes: bool,
}Fields§
§name: String§root: PathBuf§template: String§empty: bool§server: ServerIntegration§tailwind: bool§docs: DocsIntegration§blog: bool§deploy: DeployTarget§skip_install: bool§no_git: bool§agents_md: bool§dry_run: Option<DryRunFormat>§force: bool§yes: boolImplementations§
Source§impl NewSiteOptions
impl NewSiteOptions
pub fn from_args(args: NewSiteArgs) -> Result<Self>
Auto Trait Implementations§
impl Freeze 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> 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