Struct speedrun_api::api::notifications::NotificationsBuilder
source · [−]pub struct NotificationsBuilder { /* private fields */ }Expand description
Builder for Notifications.
Implementations
sourceimpl NotificationsBuilder
impl NotificationsBuilder
sourcepub fn orderby<VALUE: Into<NotificationsSorting>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn orderby<VALUE: Into<NotificationsSorting>>(
&mut self,
value: VALUE
) -> &mut Self
Sorting options for results (default: Sorted by date).
sourcepub fn direction<VALUE: Into<Direction>>(&mut self, value: VALUE) -> &mut Self
pub fn direction<VALUE: Into<Direction>>(&mut self, value: VALUE) -> &mut Self
Sort direction. (default: descending)
sourcepub fn build(&self) -> Result<Notifications, NotificationsBuilderError>
pub fn build(&self) -> Result<Notifications, NotificationsBuilderError>
Trait Implementations
sourceimpl Clone for NotificationsBuilder
impl Clone for NotificationsBuilder
sourcefn clone(&self) -> NotificationsBuilder
fn clone(&self) -> NotificationsBuilder
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 RefUnwindSafe for NotificationsBuilder
impl Send for NotificationsBuilder
impl Sync for NotificationsBuilder
impl Unpin for NotificationsBuilder
impl UnwindSafe for NotificationsBuilder
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