pub struct CollectionShort {
pub id: u64,
pub name: String,
pub original_name: String,
pub overview: String,
pub poster: Option<Poster>,
pub backdrop: Option<Backdrop>,
pub original_language: Option<Language>,
pub adult: bool,
}Expand description
one collection in a search response
Fields§
§id: u64§name: String§original_name: String§overview: String§poster: Option<Poster>§backdrop: Option<Backdrop>§original_language: Option<Language>§adult: boolTrait Implementations§
Source§impl Clone for CollectionShort
impl Clone for CollectionShort
Source§fn clone(&self) -> CollectionShort
fn clone(&self) -> CollectionShort
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CollectionShort
impl Debug for CollectionShort
Source§impl<'de> Deserialize<'de> for CollectionShort
impl<'de> Deserialize<'de> for CollectionShort
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 CollectionShort
impl RefUnwindSafe for CollectionShort
impl Send for CollectionShort
impl Sync for CollectionShort
impl Unpin for CollectionShort
impl UnsafeUnpin for CollectionShort
impl UnwindSafe for CollectionShort
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