pub struct PowerTypeFlat {Show 13 fields
pub id: i32,
pub name_global_string_tag: String,
pub cost_global_string_tag: String,
pub power_type_enum: i32,
pub min_power: i32,
pub max_base_power: i32,
pub center_power: i32,
pub default_power: i32,
pub display_modifier: f32,
pub regen_interrupt_time_ms: i32,
pub regen_peace: f32,
pub regen_combat: f32,
pub flags: i32,
}Fields§
§id: i32§name_global_string_tag: String§cost_global_string_tag: String§power_type_enum: i32§min_power: i32§max_base_power: i32§center_power: i32§default_power: i32§display_modifier: f32§regen_interrupt_time_ms: i32§regen_peace: f32§regen_combat: f32§flags: i32Trait Implementations§
Source§impl Clone for PowerTypeFlat
impl Clone for PowerTypeFlat
Source§fn clone(&self) -> PowerTypeFlat
fn clone(&self) -> PowerTypeFlat
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 CopyInsert for PowerTypeFlat
impl CopyInsert for PowerTypeFlat
Source§impl Debug for PowerTypeFlat
impl Debug for PowerTypeFlat
Source§impl Default for PowerTypeFlat
impl Default for PowerTypeFlat
Source§fn default() -> PowerTypeFlat
fn default() -> PowerTypeFlat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PowerTypeFlat
impl<'de> Deserialize<'de> for PowerTypeFlat
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
Source§impl JsonSchema for PowerTypeFlat
impl JsonSchema for PowerTypeFlat
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 moreAuto Trait Implementations§
impl Freeze for PowerTypeFlat
impl RefUnwindSafe for PowerTypeFlat
impl Send for PowerTypeFlat
impl Sync for PowerTypeFlat
impl Unpin for PowerTypeFlat
impl UnsafeUnpin for PowerTypeFlat
impl UnwindSafe for PowerTypeFlat
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