pub struct CollectionsBuilder { /* private fields */ }Expand description
Builder for constructing a Collections request.
Implementations§
Source§impl CollectionsBuilder
impl CollectionsBuilder
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new CollectionsBuilder.
Sourcepub fn per_page(self, per_page: usize) -> Self
pub fn per_page(self, per_page: usize) -> Self
Sets the number of results per page for the collections request.
Sourcepub fn build(self) -> Collections
pub fn build(self) -> Collections
Builds the Collections request from the CollectionsBuilder parameters
Trait Implementations§
Source§impl Default for CollectionsBuilder
impl Default for CollectionsBuilder
Source§fn default() -> CollectionsBuilder
fn default() -> CollectionsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CollectionsBuilder
impl RefUnwindSafe for CollectionsBuilder
impl Send for CollectionsBuilder
impl Sync for CollectionsBuilder
impl Unpin for CollectionsBuilder
impl UnwindSafe for CollectionsBuilder
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