pub struct PeopleQuery {
pub after: Option<i64>,
pub name: Option<String>,
pub limit: Option<u32>,
pub offset: Option<u32>,
}Expand description
Filter of a people list (GET /libraries/:id/people). Its fields keep their snake_case names in JSON.
Fields§
§after: Option<i64>Only people modified strictly after this time, in unix milliseconds.
name: Option<String>§limit: Option<u32>§offset: Option<u32>Implementations§
Source§impl PeopleQuery
impl PeopleQuery
pub fn new_empty() -> PeopleQuery
pub fn from_after(after: i64) -> PeopleQuery
pub fn from_name(name: &str) -> PeopleQuery
Trait Implementations§
Source§impl Clone for PeopleQuery
impl Clone for PeopleQuery
Source§fn clone(&self) -> PeopleQuery
fn clone(&self) -> PeopleQuery
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 PeopleQuery
impl Debug for PeopleQuery
Source§impl Default for PeopleQuery
impl Default for PeopleQuery
Source§fn default() -> PeopleQuery
fn default() -> PeopleQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PeopleQuery
impl<'de> Deserialize<'de> for PeopleQuery
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PeopleQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PeopleQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PeopleQuery
impl PartialEq for PeopleQuery
Source§impl Serialize for PeopleQuery
impl Serialize for PeopleQuery
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 PeopleQuery
Auto Trait Implementations§
impl Forget for PeopleQuery
impl Freeze for PeopleQuery
impl Move for PeopleQuery
impl RefUnwindSafe for PeopleQuery
impl Send for PeopleQuerywhere
RawVecInner: Send,
impl Sync for PeopleQuerywhere
RawVecInner: Sync,
impl Unpin for PeopleQuery
impl UnsafeUnpin for PeopleQuery
impl UnwindSafe for PeopleQuerywhere
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