pub struct MovieList {
pub page: u64,
pub results: Vec<Movie>,
pub total_results: u64,
pub total_pages: u64,
}Expand description
A cursor from a movie search
Fields§
§page: u64What page in the search this cursor is for
results: Vec<Movie>The movies found
total_results: u64The total number of results found with this search
total_pages: u64The total number of pages found with this search
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MovieList
impl<'de> Deserialize<'de> for MovieList
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 MovieList
impl RefUnwindSafe for MovieList
impl Send for MovieList
impl Sync for MovieList
impl Unpin for MovieList
impl UnwindSafe for MovieList
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