pub struct MediaPage {
pub items: Vec<Media>,
pub total: Option<u64>,
pub next: Option<PageCursor>,
}Expand description
One page of a media listing plus the cursor to fetch the next page.
Fields§
§items: Vec<Media>§total: Option<u64>Total item count reported by the API (totalCount), if present.
next: Option<PageCursor>Opaque cursor / next page token; None when there are no more pages.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MediaPage
impl RefUnwindSafe for MediaPage
impl Send for MediaPage
impl Sync for MediaPage
impl Unpin for MediaPage
impl UnsafeUnpin for MediaPage
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