pub struct GameCategoriesBuilder<'a> { /* private fields */ }Expand description
Builder for GameCategories.
Implementations§
Source§impl<'a> GameCategoriesBuilder<'a>
impl<'a> GameCategoriesBuilder<'a>
Sourcepub fn id<VALUE: Into<GameId<'a>>>(&mut self, value: VALUE) -> &mut Self
pub fn id<VALUE: Into<GameId<'a>>>(&mut self, value: VALUE) -> &mut Self
ID of the game to retrieve categories for.
Sourcepub fn miscellaneous<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn miscellaneous<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Filter miscellaneous categories.
Sourcepub fn orderby<VALUE: Into<CategoriesSorting>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn orderby<VALUE: Into<CategoriesSorting>>( &mut self, value: VALUE, ) -> &mut Self
Sorting options for results.
Sourcepub fn build(&self) -> Result<GameCategories<'a>, GameCategoriesBuilderError>
pub fn build(&self) -> Result<GameCategories<'a>, GameCategoriesBuilderError>
Source§impl GameCategoriesBuilder<'_>
impl GameCategoriesBuilder<'_>
Sourcepub fn embed(&mut self, embed: CategoryEmbeds) -> &mut Self
pub fn embed(&mut self, embed: CategoryEmbeds) -> &mut Self
Add an embedded resource to this result
Sourcepub fn embeds<I>(&mut self, iter: I) -> &mut Selfwhere
I: Iterator<Item = CategoryEmbeds>,
pub fn embeds<I>(&mut self, iter: I) -> &mut Selfwhere
I: Iterator<Item = CategoryEmbeds>,
Add multiple embedded resources to this result
Trait Implementations§
Source§impl<'a> Clone for GameCategoriesBuilder<'a>
impl<'a> Clone for GameCategoriesBuilder<'a>
Source§fn clone(&self) -> GameCategoriesBuilder<'a>
fn clone(&self) -> GameCategoriesBuilder<'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 GameCategoriesBuilder<'a>
impl<'a> RefUnwindSafe for GameCategoriesBuilder<'a>
impl<'a> Send for GameCategoriesBuilder<'a>
impl<'a> Sync for GameCategoriesBuilder<'a>
impl<'a> Unpin for GameCategoriesBuilder<'a>
impl<'a> UnwindSafe for GameCategoriesBuilder<'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