pub struct CreditResource {
pub id: Option<i32>,
pub person_name: Option<Option<String>>,
pub credit_tmdb_id: Option<Option<String>>,
pub person_tmdb_id: Option<i32>,
pub movie_metadata_id: Option<i32>,
pub images: Option<Option<Vec<MediaCover>>>,
pub department: Option<Option<String>>,
pub job: Option<Option<String>>,
pub character: Option<Option<String>>,
pub order: Option<i32>,
pub type: Option<CreditType>,
}
Fields§
§id: Option<i32>
§person_name: Option<Option<String>>
§credit_tmdb_id: Option<Option<String>>
§person_tmdb_id: Option<i32>
§movie_metadata_id: Option<i32>
§images: Option<Option<Vec<MediaCover>>>
§department: Option<Option<String>>
§job: Option<Option<String>>
§character: Option<Option<String>>
§order: Option<i32>
§type: Option<CreditType>
Implementations§
Source§impl CreditResource
impl CreditResource
pub fn new() -> CreditResource
Trait Implementations§
Source§impl Clone for CreditResource
impl Clone for CreditResource
Source§fn clone(&self) -> CreditResource
fn clone(&self) -> CreditResource
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 CreditResource
impl Debug for CreditResource
Source§impl<'de> Deserialize<'de> for CreditResource
impl<'de> Deserialize<'de> for CreditResource
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 CreditResource
impl PartialEq for CreditResource
Source§impl Serialize for CreditResource
impl Serialize for CreditResource
impl StructuralPartialEq for CreditResource
Auto Trait Implementations§
impl Freeze for CreditResource
impl RefUnwindSafe for CreditResource
impl Send for CreditResource
impl Sync for CreditResource
impl Unpin for CreditResource
impl UnwindSafe for CreditResource
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