pub struct PushNotificationConfig {
pub id: Option<String>,
pub url: String,
pub token: Option<String>,
pub authentication: Option<AuthenticationInfo>,
}Expand description
Push notification configuration per proto spec
Fields§
§id: Option<String>Configuration identifier
url: StringWebhook URL to receive notifications
token: Option<String>Token for webhook authentication
authentication: Option<AuthenticationInfo>Authentication details for webhook delivery
Trait Implementations§
Source§impl Clone for PushNotificationConfig
impl Clone for PushNotificationConfig
Source§fn clone(&self) -> PushNotificationConfig
fn clone(&self) -> PushNotificationConfig
Returns a duplicate 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 Debug for PushNotificationConfig
impl Debug for PushNotificationConfig
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
Source§impl PartialEq for PushNotificationConfig
impl PartialEq for PushNotificationConfig
Source§impl Serialize for PushNotificationConfig
impl Serialize for PushNotificationConfig
impl StructuralPartialEq for PushNotificationConfig
Auto Trait Implementations§
impl Freeze for PushNotificationConfig
impl RefUnwindSafe for PushNotificationConfig
impl Send for PushNotificationConfig
impl Sync for PushNotificationConfig
impl Unpin 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