pub struct PushNotificationConfig {
pub url: String,
pub token: Option<String>,
pub id: Option<String>,
}Expand description
Configuration for push notifications.
Fields§
§url: String§token: Option<String>§id: Option<String>Trait Implementations§
Source§impl Debug for PushNotificationConfig
impl Debug for PushNotificationConfig
Source§impl Default for PushNotificationConfig
impl Default for PushNotificationConfig
Source§fn default() -> PushNotificationConfig
fn default() -> PushNotificationConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PushNotificationConfig
impl<'de> Deserialize<'de> for PushNotificationConfig
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 Freeze for PushNotificationConfig
impl RefUnwindSafe for PushNotificationConfig
impl Send for PushNotificationConfig
impl Sync for PushNotificationConfig
impl Unpin for PushNotificationConfig
impl UnsafeUnpin for PushNotificationConfig
impl UnwindSafe for PushNotificationConfig
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