[−][src]Struct pokerust::LocationArea
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
game_index: i16
encounter_method_rates: Vec<EncouterMethodRate>
location: NamedAPIResource<Location>
names: Vec<Name>
pokemon_encounters: Vec<PokemonEncouter>
Trait Implementations
impl Clone for LocationArea
[src]
fn clone(&self) -> LocationArea
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for LocationArea
[src]
impl<'de> Deserialize<'de> for LocationArea
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Endpoint for LocationArea
[src]
type ResourceListKind = NamedAPIResourceList<LocationArea>
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 LocationArea
[src]
impl Hash for LocationArea
[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 LocationArea
[src]
impl Named for LocationArea
[src]
impl PartialEq<LocationArea> for LocationArea
[src]
fn eq(&self, other: &LocationArea) -> bool
[src]
fn ne(&self, other: &LocationArea) -> bool
[src]
impl Serialize for LocationArea
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for LocationArea
[src]
impl StructuralPartialEq for LocationArea
[src]
Auto Trait Implementations
impl RefUnwindSafe for LocationArea
impl Send for LocationArea
impl Sync for LocationArea
impl Unpin for LocationArea
impl UnwindSafe for LocationArea
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>,