pub struct AddOutput {
pub module: String,
pub feature: String,
pub changed: bool,
pub skill: Option<String>,
pub about: String,
pub alternatives_on: Vec<String>,
pub beside: Option<String>,
pub install: Option<String>,
pub formats: Option<String>,
}Expand description
What add did, and what is left to the game.
Fields§
§module: StringThe module’s crate (shuyi-physics).
feature: StringIts feature of the shuyi crate (physics).
changed: boolWhether the game’s Cargo.toml changed; false when the module
was on already.
skill: Option<String>Where its skill was copied, from the game’s folder; absent when none was (the limits say why).
about: StringWhat it is for: its README’s first paragraph.
alternatives_on: Vec<String>Its alternatives the game already has on.
beside: Option<String>Its README’s section on sitting beside them, when one is on.
install: Option<String>The line to add to the game’s code, when it never installs the modules it turns on.
formats: Option<String>The line for the game’s formats(), when the module adds formats.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AddOutput
impl<'de> Deserialize<'de> for AddOutput
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 AddOutput
Source§impl JsonSchema for AddOutput
impl JsonSchema for AddOutput
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 AddOutput
Auto Trait Implementations§
impl Freeze for AddOutput
impl RefUnwindSafe for AddOutput
impl Send for AddOutput
impl Sync for AddOutput
impl Unpin for AddOutput
impl UnsafeUnpin for AddOutput
impl UnwindSafe for AddOutput
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.