pub struct SerieQuery {
pub person: Option<String>,
pub role: Option<PersonType>,
pub after: Option<i64>,
pub name: Option<String>,
pub sort: RsSort,
pub order: SqlOrder,
pub limit: Option<u32>,
pub offset: Option<u32>,
}Expand description
Filter of a series list (GET /libraries/:id/series). Its fields keep their snake_case names in JSON.
Fields§
§person: Option<String>§role: Option<PersonType>§after: Option<i64>Only series modified strictly after this time, in unix milliseconds.
name: Option<String>§sort: RsSort§order: SqlOrder§limit: Option<u32>§offset: Option<u32>Implementations§
Source§impl SerieQuery
impl SerieQuery
pub fn new_empty() -> SerieQuery
pub fn from_after(after: i64) -> SerieQuery
Trait Implementations§
Source§impl Clone for SerieQuery
impl Clone for SerieQuery
Source§fn clone(&self) -> SerieQuery
fn clone(&self) -> SerieQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SerieQuery
impl Debug for SerieQuery
Source§impl Default for SerieQuery
impl Default for SerieQuery
Source§fn default() -> SerieQuery
fn default() -> SerieQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SerieQuery
impl<'de> Deserialize<'de> for SerieQuery
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SerieQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SerieQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SerieQuery
impl PartialEq for SerieQuery
Source§impl Serialize for SerieQuery
impl Serialize for SerieQuery
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SerieQuery
Auto Trait Implementations§
impl Forget for SerieQuery
impl Freeze for SerieQuery
impl Move for SerieQuery
impl RefUnwindSafe for SerieQuery
impl Send for SerieQuerywhere
RawVecInner: Send,
impl Sync for SerieQuerywhere
RawVecInner: Sync,
impl Unpin for SerieQuery
impl UnsafeUnpin for SerieQuery
impl UnwindSafe for SerieQuerywhere
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