Struct pokeapi_client::characteristic::Description
source · pub struct Description {
pub description: String,
pub language: Resource,
}Fields§
§description: String§language: ResourceTrait Implementations§
source§impl Clone for Description
impl Clone for Description
source§fn clone(&self) -> Description
fn clone(&self) -> Description
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for Description
impl Debug for Description
source§impl Default for Description
impl Default for Description
source§fn default() -> Description
fn default() -> Description
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Description
impl<'de> Deserialize<'de> for Description
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
source§impl PartialEq for Description
impl PartialEq for Description
source§fn eq(&self, other: &Description) -> bool
fn eq(&self, other: &Description) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for Description
impl Serialize for Description
impl StructuralPartialEq for Description
Auto Trait Implementations§
impl RefUnwindSafe for Description
impl Send for Description
impl Sync for Description
impl Unpin for Description
impl UnwindSafe for Description
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