pub struct PlaylistBrowseQuery {
pub is_published: Option<bool>,
pub author_id: Option<UserOrMe>,
pub page: Option<u32>,
pub draft_or_live: Option<DraftOrLive>,
pub privacy_level: Vec<PrivacyLevel>,
pub page_limit: Option<u32>,
pub resource_types: Vec<ResourceTypeId>,
}
Expand description
Query for Browse
.
Fields§
§is_published: Option<bool>
Optionally filter by is_published
Optionally filter by author id.
page: Option<u32>
The page number of the Playlists to get.
draft_or_live: Option<DraftOrLive>
Optionally browse by draft or live.
privacy_level: Vec<PrivacyLevel>
Optionally filter Playlist by their privacy level
page_limit: Option<u32>
The hits per page to be returned
resource_types: Vec<ResourceTypeId>
Optionally filter by additional resources
Trait Implementations§
Source§impl Clone for PlaylistBrowseQuery
impl Clone for PlaylistBrowseQuery
Source§fn clone(&self) -> PlaylistBrowseQuery
fn clone(&self) -> PlaylistBrowseQuery
Returns a copy of the value. Read more
1.0.0 · 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 PlaylistBrowseQuery
impl Debug for PlaylistBrowseQuery
Source§impl Default for PlaylistBrowseQuery
impl Default for PlaylistBrowseQuery
Source§fn default() -> PlaylistBrowseQuery
fn default() -> PlaylistBrowseQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlaylistBrowseQuery
impl<'de> Deserialize<'de> for PlaylistBrowseQuery
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 PlaylistBrowseQuery
impl RefUnwindSafe for PlaylistBrowseQuery
impl Send for PlaylistBrowseQuery
impl Sync for PlaylistBrowseQuery
impl Unpin for PlaylistBrowseQuery
impl UnwindSafe for PlaylistBrowseQuery
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