pub struct MediaPage {
pub medias: Vec<MediaItem>,
pub next_page_key: Option<String>,
}Expand description
One page of medias.
Fields§
§medias: Vec<MediaItem>§next_page_key: Option<String>Put it in MediaQuery::page_key for the next page. None: no more pages.
Trait Implementations§
Auto Trait Implementations§
impl Forget for MediaPage
impl Freeze for MediaPagewhere
*const u8 is !null: Freeze,
PhantomData<ItemWithRelations<Media>>: Freeze,
PhantomData<u8>: Freeze,
impl Move for MediaPage
impl RefUnwindSafe for MediaPage
impl Send for MediaPage
impl Sync for MediaPage
impl Unpin for MediaPage
impl UnsafeUnpin for MediaPagewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<ItemWithRelations<Media>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for MediaPage
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