pub struct PersonObject {
pub profile_path: Option<String>,
pub adult: Option<bool>,
pub id: Option<i32>,
pub known_for: Option<Vec<Value>>,
pub name: Option<String>,
pub popularity: Option<f32>,
pub media_type: Option<PersonMediaType>,
}Fields§
§profile_path: Option<String>§adult: Option<bool>§id: Option<i32>§known_for: Option<Vec<Value>>§name: Option<String>§popularity: Option<f32>§media_type: Option<PersonMediaType>Trait Implementations§
Source§impl Clone for PersonObject
impl Clone for PersonObject
Source§fn clone(&self) -> PersonObject
fn clone(&self) -> PersonObject
Returns a duplicate 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 PersonObject
impl Debug for PersonObject
Source§impl Default for PersonObject
impl Default for PersonObject
Source§fn default() -> PersonObject
fn default() -> PersonObject
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PersonObject
impl<'de> Deserialize<'de> for PersonObject
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
Auto Trait Implementations§
impl Freeze for PersonObject
impl RefUnwindSafe for PersonObject
impl Send for PersonObject
impl Sync for PersonObject
impl Unpin for PersonObject
impl UnwindSafe for PersonObject
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