[−][src]Struct pokerust::Ability
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.id: i16
name: String
is_main_series: bool
generation: NamedAPIResource<Generation>
names: Vec<Name>
effect_entries: Vec<VerboseEffect>
effect_changes: Vec<AbilityEffectChange>
flavor_text_entries: Vec<AbilityFlavorText>
pokemon: Vec<AbilityPokemon>
Trait Implementations
impl Clone for Ability
[src]
impl Debug for Ability
[src]
impl<'de> Deserialize<'de> for Ability
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Endpoint for Ability
[src]
type ResourceListKind = NamedAPIResourceList<Ability>
const ENDPOINT: &'static str
[src]
fn list(offset: usize, limit: usize) -> Result<Self::ResourceListKind, Error>
[src]
fn full_list() -> Result<Self::ResourceListKind, Error>
[src]
impl Eq for Ability
[src]
impl Hash for Ability
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Id for Ability
[src]
impl Named for Ability
[src]
impl PartialEq<Ability> for Ability
[src]
impl Serialize for Ability
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for Ability
[src]
impl StructuralPartialEq for Ability
[src]
Auto Trait Implementations
impl RefUnwindSafe for Ability
impl Send for Ability
impl Sync for Ability
impl Unpin for Ability
impl UnwindSafe for Ability
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> FromId for T where
T: Endpoint + Id + DeserializeOwned,
[src]
T: Endpoint + Id + DeserializeOwned,
impl<T> FromName for T where
T: Endpoint + Named + DeserializeOwned,
[src]
T: Endpoint + Named + DeserializeOwned,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,