pub struct Person {Show 21 fields
pub id: String,
pub name: String,
pub socials: Option<Vec<RsLink>>,
pub kind: Option<PersonType>,
pub alt: Option<Vec<String>>,
pub portrait: Option<String>,
pub params: Option<Value>,
pub birthday: Option<i64>,
pub modified: u64,
pub added: u64,
pub posterv: u32,
pub generated: bool,
pub imdb: Option<String>,
pub slug: Option<String>,
pub tmdb: Option<u64>,
pub trakt: Option<u64>,
pub death: Option<i64>,
pub gender: Option<Gender>,
pub country: Option<String>,
pub bio: Option<String>,
pub otherids: Option<OtherIds>,
}Fields§
§id: String§name: String§kind: Option<PersonType>§alt: Option<Vec<String>>§portrait: Option<String>§params: Option<Value>§birthday: Option<i64>§modified: u64§added: u64§posterv: u32§generated: bool§imdb: Option<String>§slug: Option<String>§tmdb: Option<u64>§trakt: Option<u64>§death: Option<i64>§gender: Option<Gender>§country: Option<String>§bio: Option<String>§otherids: Option<OtherIds>Trait Implementations§
Source§impl ApplyRsIds for Person
impl ApplyRsIds for Person
fn apply_rs_ids(&mut self, ids: &RsIds)
Source§impl<'de> Deserialize<'de> for Person
impl<'de> Deserialize<'de> for Person
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Person, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Person, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Person> for PersonWithRoles
impl From<Person> for PersonWithRoles
Source§fn from(person: Person) -> PersonWithRoles
fn from(person: Person) -> PersonWithRoles
Converts to this type from the input type.
Source§impl Serialize for Person
impl Serialize for Person
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Person
Auto Trait Implementations§
impl Forget for Person
impl Freeze for Personwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<RsLink>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for Person
impl RefUnwindSafe for Person
impl Send for Person
impl Sync for Person
impl Unpin for Person
impl UnsafeUnpin for Personwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<RsLink>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for Person
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