pub struct clear_notifications;Expand description
Removes every notification the bell lists.
Trait Implementations§
Source§impl Clone for clear_notifications
impl Clone for clear_notifications
impl Copy for clear_notifications
Source§impl Route for clear_notifications
impl Route for clear_notifications
Source§fn handle<'cx>(&'cx self, cx: &'cx Cx, body: Body) -> RouteFuture<'cx>
fn handle<'cx>(&'cx self, cx: &'cx Cx, body: Body) -> RouteFuture<'cx>
Handles a request, producing a response.
§fn context(&self) -> ContextMap
fn context(&self) -> ContextMap
The values attached to this route, such as metadata that describes it. Read more
§fn is_current(&self, cx: &Cx) -> bool
fn is_current(&self, cx: &Cx) -> bool
Returns whether this route handles the current request. Read more
Source§impl Surrogated for clear_notifications
impl Surrogated for clear_notifications
type Surrogate = &'static ProcedureSurrogate<clear_notifications>
fn into_surrogate(self) -> Self::Surrogate
Auto Trait Implementations§
impl Freeze for clear_notifications
impl RefUnwindSafe for clear_notifications
impl Send for clear_notifications
impl Sync for clear_notifications
impl Unpin for clear_notifications
impl UnsafeUnpin for clear_notifications
impl UnwindSafe for clear_notifications
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