pub struct Unit {Show 16 fields
pub ability_classes: Vec<String>,
pub activate_shard_count: u64,
pub alignment: Alignment,
pub base_id: String,
pub categories: Vec<String>,
pub combat_type: i64,
pub description: String,
pub gear_levels: Vec<GearLevel>,
pub image: String,
pub name: String,
pub pk: u64,
pub power: u64,
pub role: String,
pub ship: String,
pub ship_slot: Option<u64>,
pub url: String,
}Fields§
§ability_classes: Vec<String>§activate_shard_count: u64§alignment: Alignment§base_id: String§categories: Vec<String>§combat_type: i64§description: String§gear_levels: Vec<GearLevel>§image: String§name: String§pk: u64§power: u64§role: String§ship: String§ship_slot: Option<u64>§url: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Unit
impl<'de> Deserialize<'de> for Unit
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 Unit
impl RefUnwindSafe for Unit
impl Send for Unit
impl Sync for Unit
impl Unpin for Unit
impl UnsafeUnpin for Unit
impl UnwindSafe for Unit
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