pub struct mark_all_notifications_read;Expand description
Marks every notification the bell lists read.
Trait Implementations§
Source§impl Clone for mark_all_notifications_read
impl Clone for mark_all_notifications_read
Source§fn clone(&self) -> mark_all_notifications_read
fn clone(&self) -> mark_all_notifications_read
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 mark_all_notifications_read
Source§impl Route for mark_all_notifications_read
impl Route for mark_all_notifications_read
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 mark_all_notifications_read
impl Surrogated for mark_all_notifications_read
type Surrogate = &'static ProcedureSurrogate<mark_all_notifications_read>
fn into_surrogate( self, ) -> <mark_all_notifications_read as Surrogated>::Surrogate
Auto Trait Implementations§
impl Freeze for mark_all_notifications_read
impl RefUnwindSafe for mark_all_notifications_read
impl Send for mark_all_notifications_read
impl Sync for mark_all_notifications_read
impl Unpin for mark_all_notifications_read
impl UnsafeUnpin for mark_all_notifications_read
impl UnwindSafe for mark_all_notifications_read
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