pub struct UserQueryParams { /* private fields */ }Expand description
All optional query parameters for making a request to the user endpoint.
Implementations§
Source§impl UserQueryParams
impl UserQueryParams
Sourcepub fn include_buddies(self, include_buddies: bool) -> Self
pub fn include_buddies(self, include_buddies: bool) -> Self
Sets the include_buddies query parameter. If set to true then the list of buddies will be
returned on the user object.
Sourcepub fn include_guilds(self, include_guilds: bool) -> Self
pub fn include_guilds(self, include_guilds: bool) -> Self
Sets the include_guilds query parameter. If set to true then the list of guilds the user
belongs to will be included in the user object.
Sourcepub fn include_top_list(self, include_top_list: bool) -> Self
pub fn include_top_list(self, include_top_list: bool) -> Self
Sets the include_top_list query parameter. If set to true the user’s list of top
games will be included in the result.
Sourcepub fn include_hot_list(self, include_hot_list: bool) -> Self
pub fn include_hot_list(self, include_hot_list: bool) -> Self
Sets the include_hot_list query parameter. If set to true the user’s list of hot
games will be included in the result.
Trait Implementations§
Source§impl Clone for UserQueryParams
impl Clone for UserQueryParams
Source§fn clone(&self) -> UserQueryParams
fn clone(&self) -> UserQueryParams
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 UserQueryParams
impl Debug for UserQueryParams
Source§impl Default for UserQueryParams
impl Default for UserQueryParams
Source§fn default() -> UserQueryParams
fn default() -> UserQueryParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UserQueryParams
impl RefUnwindSafe for UserQueryParams
impl Send for UserQueryParams
impl Sync for UserQueryParams
impl Unpin for UserQueryParams
impl UnsafeUnpin for UserQueryParams
impl UnwindSafe for UserQueryParams
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