Struct speedrun_api::api::users::UsersBuilder
source · [−]pub struct UsersBuilder<'a> { /* private fields */ }Expand description
Builder for Users.
Implementations
sourceimpl<'a> UsersBuilder<'a>
impl<'a> UsersBuilder<'a>
sourcepub fn lookup<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn lookup<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
Performs a case-insensitive exact-match search for lookup across all user names, URLs and social profiles. Cannot be specified with any other filters.
sourcepub fn name<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
Only return users whose name/URL contain name. The comparison is case-insensitive.
sourcepub fn twitch<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn twitch<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
Search Twitch usernames
sourcepub fn hitbox<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn hitbox<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
Search Hitbox usernames
sourcepub fn twitter<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn twitter<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
Search Twitter usernames
sourcepub fn speedrunslive<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn speedrunslive<VALUE: Into<Cow<'a, str>>>(
&mut self,
value: VALUE
) -> &mut Self
Search SpeedRunsLive usernames
sourcepub fn orderby<VALUE: Into<UsersSorting>>(&mut self, value: VALUE) -> &mut Self
pub fn orderby<VALUE: Into<UsersSorting>>(&mut self, value: VALUE) -> &mut Self
Sorting options for results.
Trait Implementations
sourceimpl<'a> Clone for UsersBuilder<'a>
impl<'a> Clone for UsersBuilder<'a>
sourcefn clone(&self) -> UsersBuilder<'a>
fn clone(&self) -> UsersBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for UsersBuilder<'a>
impl<'a> Send for UsersBuilder<'a>
impl<'a> Sync for UsersBuilder<'a>
impl<'a> Unpin for UsersBuilder<'a>
impl<'a> UnwindSafe for UsersBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more