pub struct JigBrowseQuery {
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 blocked: Option<bool>,
pub page_limit: Option<u32>,
pub resource_types: Vec<ResourceTypeId>,
pub order_by: Option<OrderBy>,
}
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 jigs to get.
draft_or_live: Option<DraftOrLive>
Optionally browse by draft or live.
privacy_level: Vec<PrivacyLevel>
Optionally filter jig by their privacy level
blocked: Option<bool>
Optionally filter jig by blocked status
page_limit: Option<u32>
The hits per page to be returned
resource_types: Vec<ResourceTypeId>
Optionally filter by additional resources
order_by: Option<OrderBy>
The hits per page to be returned
Trait Implementations§
Source§impl Clone for JigBrowseQuery
impl Clone for JigBrowseQuery
Source§fn clone(&self) -> JigBrowseQuery
fn clone(&self) -> JigBrowseQuery
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 JigBrowseQuery
impl Debug for JigBrowseQuery
Source§impl Default for JigBrowseQuery
impl Default for JigBrowseQuery
Source§fn default() -> JigBrowseQuery
fn default() -> JigBrowseQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JigBrowseQuery
impl<'de> Deserialize<'de> for JigBrowseQuery
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 JigBrowseQuery
impl RefUnwindSafe for JigBrowseQuery
impl Send for JigBrowseQuery
impl Sync for JigBrowseQuery
impl Unpin for JigBrowseQuery
impl UnwindSafe for JigBrowseQuery
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