#[non_exhaustive]pub struct VideoListQuery {
pub after: Option<String>,
pub limit: Option<u32>,
pub order: ListOrder,
}Expand description
What a video listing asks for: a page after an id, its length and its order.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.after: Option<String>The id of the last video of the previous page.
limit: Option<u32>How many videos to list, 0 to 100.
order: ListOrderImplementations§
Trait Implementations§
Source§impl Clone for VideoListQuery
impl Clone for VideoListQuery
Source§impl Debug for VideoListQuery
impl Debug for VideoListQuery
Source§impl Default for VideoListQuery
impl Default for VideoListQuery
Source§impl<'de> Deserialize<'de> for VideoListQuery
impl<'de> Deserialize<'de> for VideoListQuery
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
impl Eq for VideoListQuery
Source§impl PartialEq for VideoListQuery
impl PartialEq for VideoListQuery
Source§impl Serialize for VideoListQuery
impl Serialize for VideoListQuery
impl StructuralPartialEq for VideoListQuery
Auto Trait Implementations§
impl Forget for VideoListQuery
impl Freeze for VideoListQuery
impl Move for VideoListQuery
impl RefUnwindSafe for VideoListQuery
impl Send for VideoListQuerywhere
RawVecInner: Send,
impl Sync for VideoListQuerywhere
RawVecInner: Sync,
impl Unpin for VideoListQuery
impl UnsafeUnpin for VideoListQuery
impl UnwindSafe for VideoListQuerywhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.