[][src]Struct api_swgoh_gg::model::Unit

pub struct Unit {
    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: u64alignment: Alignmentbase_id: Stringcategories: Vec<String>combat_type: i64description: Stringgear_levels: Vec<GearLevel>image: Stringname: Stringpk: u64power: u64role: Stringship: Stringship_slot: Option<u64>url: String

Trait Implementations

impl Debug for Unit[src]

impl<'de> Deserialize<'de> for Unit[src]

Auto Trait Implementations

impl RefUnwindSafe for Unit

impl Send for Unit

impl Sync for Unit

impl Unpin for Unit

impl UnwindSafe for Unit

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,