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
Source§fn clone(&self) -> clear_notifications
fn clone(&self) -> clear_notifications
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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,
) -> Pin<Box<dyn Future<Output = Result<Response<Body>, Error>> + Send + 'cx>>
fn handle<'cx>( &'cx self, cx: &'cx Cx, body: Body, ) -> Pin<Box<dyn Future<Output = Result<Response<Body>, Error>> + Send + '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) -> <clear_notifications as Surrogated>::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