Struct tmdb_api::people::PersonShort
source · pub struct PersonShort {
pub id: u64,
pub credit_id: Option<String>,
pub name: String,
pub gender: Option<u64>,
pub profile_path: Option<String>,
}Fields§
§id: u64§credit_id: Option<String>§name: String§gender: Option<u64>§profile_path: Option<String>Trait Implementations§
source§impl Clone for PersonShort
impl Clone for PersonShort
source§fn clone(&self) -> PersonShort
fn clone(&self) -> PersonShort
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 PersonShort
impl Debug for PersonShort
source§impl<'de> Deserialize<'de> for PersonShort
impl<'de> Deserialize<'de> for PersonShort
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 PersonShort
impl PartialEq for PersonShort
source§fn eq(&self, other: &PersonShort) -> bool
fn eq(&self, other: &PersonShort) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for PersonShort
impl Serialize for PersonShort
impl StructuralPartialEq for PersonShort
Auto Trait Implementations§
impl RefUnwindSafe for PersonShort
impl Send for PersonShort
impl Sync for PersonShort
impl Unpin for PersonShort
impl UnwindSafe for PersonShort
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