[][src]Struct pokerust::EvolutionDetail

#[non_exhaustive]
pub struct EvolutionDetail {
    pub item: Option<NamedAPIResource<Item>>,
    pub trigger: NamedAPIResource<EvolutionTrigger>,
    pub gender: Option<i8>,
    pub held_item: Option<NamedAPIResource<Item>>,
    pub known_move: Option<NamedAPIResource<Move>>,
    pub known_move_type: Option<NamedAPIResource<Type>>,
    pub location: Option<NamedAPIResource<Location>>,
    pub min_level: Option<u8>,
    pub min_happiness: Option<u8>,
    pub min_beauty: Option<u8>,
    pub min_affection: Option<u8>,
    pub needs_overworld_rain: bool,
    pub party_species: Option<NamedAPIResource<PokemonSpecies>>,
    pub party_type: Option<NamedAPIResource<Type>>,
    pub relative_physical_stats: Option<i8>,
    pub time_of_day: String,
    pub trade_species: Option<NamedAPIResource<PokemonSpecies>>,
    pub turn_upside_down: bool,
}

Fields (Non-exhaustive)

Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
item: Option<NamedAPIResource<Item>>trigger: NamedAPIResource<EvolutionTrigger>gender: Option<i8>held_item: Option<NamedAPIResource<Item>>known_move: Option<NamedAPIResource<Move>>known_move_type: Option<NamedAPIResource<Type>>location: Option<NamedAPIResource<Location>>min_level: Option<u8>min_happiness: Option<u8>min_beauty: Option<u8>min_affection: Option<u8>needs_overworld_rain: boolparty_species: Option<NamedAPIResource<PokemonSpecies>>party_type: Option<NamedAPIResource<Type>>relative_physical_stats: Option<i8>time_of_day: Stringtrade_species: Option<NamedAPIResource<PokemonSpecies>>turn_upside_down: bool

Trait Implementations

impl Clone for EvolutionDetail[src]

impl Debug for EvolutionDetail[src]

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

impl Eq for EvolutionDetail[src]

impl Hash for EvolutionDetail[src]

impl PartialEq<EvolutionDetail> for EvolutionDetail[src]

impl Serialize for EvolutionDetail[src]

impl StructuralEq for EvolutionDetail[src]

impl StructuralPartialEq for EvolutionDetail[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.