pub struct NewOutput {
pub dir: String,
pub name: String,
pub crate_name: String,
pub template: String,
pub answers: Answers,
pub parts: Vec<String>,
pub files: Vec<String>,
pub overwritten: Vec<String>,
pub modules: Vec<String>,
pub targets: Vec<String>,
pub stages: Vec<String>,
pub skills: Vec<String>,
}Expand description
What new made.
Fields§
§dir: StringThe game’s folder, as given.
name: StringThe game’s name.
crate_name: StringIts crate’s name.
template: StringThe template’s id (shuyi-default).
answers: AnswersThe answers it was made for, each question left out at its default.
parts: Vec<String>The template’s parts it was made of, in order.
files: Vec<String>The files made, from its folder, /-separated, in order.
overwritten: Vec<String>The files that were there already and were written over (with
force).
modules: Vec<String>The engine’s modules turned on, by crate.
targets: Vec<String>The targets it ships on.
stages: Vec<String>Its stages, in order.
skills: Vec<String>The engine’s skills it holds in .claude/skills/, by name.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NewOutput
impl<'de> Deserialize<'de> for NewOutput
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
impl Eq for NewOutput
Source§impl JsonSchema for NewOutput
impl JsonSchema for NewOutput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for NewOutput
Auto Trait Implementations§
impl Freeze for NewOutput
impl RefUnwindSafe for NewOutput
impl Send for NewOutput
impl Sync for NewOutput
impl Unpin for NewOutput
impl UnsafeUnpin for NewOutput
impl UnwindSafe for NewOutput
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.