pub struct NewOptions {
pub slug: String,
pub name: String,
pub id: String,
pub into: PathBuf,
pub local: Option<PathBuf>,
}Fields§
§slug: StringDirectory and crate name, e.g. my-app.
name: StringHuman-readable product name.
id: StringReverse-DNS identifier.
into: PathBufWhere to create the project.
local: Option<PathBuf>Point the dependencies at this Origin checkout instead of at crates.io.
Used by Origin’s own CI to prove the template still builds against main, and
useful while developing the platform and a product side by side.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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