pub struct remove_notification;Expand description
Removes one of the user’s notifications. An id the user’s inbox does not hold changes nothing.
Trait Implementations§
Source§impl Clone for remove_notification
impl Clone for remove_notification
Source§fn clone(&self) -> remove_notification
fn clone(&self) -> remove_notification
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 remove_notification
Source§impl Route for remove_notification
impl Route for remove_notification
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 remove_notification
impl Surrogated for remove_notification
type Surrogate = &'static ProcedureSurrogate<remove_notification>
fn into_surrogate(self) -> <remove_notification as Surrogated>::Surrogate
Auto Trait Implementations§
impl Freeze for remove_notification
impl RefUnwindSafe for remove_notification
impl Send for remove_notification
impl Sync for remove_notification
impl Unpin for remove_notification
impl UnsafeUnpin for remove_notification
impl UnwindSafe for remove_notification
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