pub struct Boilerplate {
pub id: String,
pub name: String,
pub description: String,
pub language: String,
pub files: Vec<BoilerplateFile>,
pub dependencies: Vec<Dependency>,
pub scripts: Vec<Script>,
}Expand description
Represents a boilerplate project scaffold
Fields§
§id: StringUnique identifier
name: StringHuman-readable name
description: StringDescription
language: StringProgramming language
files: Vec<BoilerplateFile>Files in the boilerplate
dependencies: Vec<Dependency>Dependencies to install
scripts: Vec<Script>Setup scripts to run
Trait Implementations§
Source§impl Clone for Boilerplate
impl Clone for Boilerplate
Source§fn clone(&self) -> Boilerplate
fn clone(&self) -> Boilerplate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Boilerplate
impl Debug for Boilerplate
Source§impl<'de> Deserialize<'de> for Boilerplate
impl<'de> Deserialize<'de> for Boilerplate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Boilerplate
impl RefUnwindSafe for Boilerplate
impl Send for Boilerplate
impl Sync for Boilerplate
impl Unpin for Boilerplate
impl UnwindSafe for Boilerplate
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