pub struct PushNotificationAuthenticationInfo {
pub schemes: Vec<String>,
pub credentials: Option<String>,
}Expand description
Defines authentication details for a push notification endpoint.
Fields§
§schemes: Vec<String>A list of supported authentication schemes (e.g., ‘Basic’, ‘Bearer’).
credentials: Option<String>Optional credentials required by the push notification endpoint.
Trait Implementations§
Source§impl Clone for PushNotificationAuthenticationInfo
impl Clone for PushNotificationAuthenticationInfo
Source§fn clone(&self) -> PushNotificationAuthenticationInfo
fn clone(&self) -> PushNotificationAuthenticationInfo
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<'de> Deserialize<'de> for PushNotificationAuthenticationInfo
impl<'de> Deserialize<'de> for PushNotificationAuthenticationInfo
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 PushNotificationAuthenticationInfo
impl RefUnwindSafe for PushNotificationAuthenticationInfo
impl Send for PushNotificationAuthenticationInfo
impl Sync for PushNotificationAuthenticationInfo
impl Unpin for PushNotificationAuthenticationInfo
impl UnwindSafe for PushNotificationAuthenticationInfo
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