Struct a2::request::notification::WebPushAlert
source · pub struct WebPushAlert<'a> {
pub title: &'a str,
pub body: &'a str,
pub action: &'a str,
}
Fields§
§title: &'a str
§body: &'a str
§action: &'a str
Trait Implementations§
source§impl<'a> Clone for WebPushAlert<'a>
impl<'a> Clone for WebPushAlert<'a>
source§fn clone(&self) -> WebPushAlert<'a>
fn clone(&self) -> WebPushAlert<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for WebPushAlert<'a>
impl<'a> Debug for WebPushAlert<'a>
source§impl<'de: 'a, 'a> Deserialize<'de> for WebPushAlert<'a>
impl<'de: 'a, 'a> Deserialize<'de> for WebPushAlert<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for WebPushAlert<'a>
impl<'a> RefUnwindSafe for WebPushAlert<'a>
impl<'a> Send for WebPushAlert<'a>
impl<'a> Sync for WebPushAlert<'a>
impl<'a> Unpin for WebPushAlert<'a>
impl<'a> UnwindSafe for WebPushAlert<'a>
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