pub struct RunsBuilder<'a> { /* private fields */ }Expand description
Builder for Runs.
Implementations§
Source§impl<'a> RunsBuilder<'a>
impl<'a> RunsBuilder<'a>
Sourcepub fn user<VALUE: Into<UserId<'a>>>(&mut self, value: VALUE) -> &mut Self
pub fn user<VALUE: Into<UserId<'a>>>(&mut self, value: VALUE) -> &mut Self
Return only runs done by user.
Sourcepub fn guest<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
pub fn guest<VALUE: Into<Cow<'a, str>>>(&mut self, value: VALUE) -> &mut Self
Return only runs done by guest.
Sourcepub fn examiner<VALUE: Into<UserId<'a>>>(&mut self, value: VALUE) -> &mut Self
pub fn examiner<VALUE: Into<UserId<'a>>>(&mut self, value: VALUE) -> &mut Self
Return only runs examined by examiner.
Sourcepub fn game<VALUE: Into<GameId<'a>>>(&mut self, value: VALUE) -> &mut Self
pub fn game<VALUE: Into<GameId<'a>>>(&mut self, value: VALUE) -> &mut Self
Restrict results to game.
Sourcepub fn level<VALUE: Into<LevelId<'a>>>(&mut self, value: VALUE) -> &mut Self
pub fn level<VALUE: Into<LevelId<'a>>>(&mut self, value: VALUE) -> &mut Self
Restrict results to level.
Sourcepub fn category<VALUE: Into<CategoryId<'a>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn category<VALUE: Into<CategoryId<'a>>>( &mut self, value: VALUE, ) -> &mut Self
Restrict results to category.
Sourcepub fn platform<VALUE: Into<PlatformId<'a>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn platform<VALUE: Into<PlatformId<'a>>>( &mut self, value: VALUE, ) -> &mut Self
Restrict results to platform.
Sourcepub fn region<VALUE: Into<RegionId<'a>>>(&mut self, value: VALUE) -> &mut Self
pub fn region<VALUE: Into<RegionId<'a>>>(&mut self, value: VALUE) -> &mut Self
Restrict results to region.
Sourcepub fn emulated<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn emulated<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Only return games run on an emulator when true.
Sourcepub fn status<VALUE: Into<RunStatus>>(&mut self, value: VALUE) -> &mut Self
pub fn status<VALUE: Into<RunStatus>>(&mut self, value: VALUE) -> &mut Self
Filter runs based on status.
Sourcepub fn orderby<VALUE: Into<RunsSorting>>(&mut self, value: VALUE) -> &mut Self
pub fn orderby<VALUE: Into<RunsSorting>>(&mut self, value: VALUE) -> &mut Self
Sorting options for results.
Trait Implementations§
Source§impl<'a> Clone for RunsBuilder<'a>
impl<'a> Clone for RunsBuilder<'a>
Source§fn clone(&self) -> RunsBuilder<'a>
fn clone(&self) -> RunsBuilder<'a>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<'a> Freeze for RunsBuilder<'a>
impl<'a> RefUnwindSafe for RunsBuilder<'a>
impl<'a> Send for RunsBuilder<'a>
impl<'a> Sync for RunsBuilder<'a>
impl<'a> Unpin for RunsBuilder<'a>
impl<'a> UnwindSafe for RunsBuilder<'a>
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