pub struct AuthenticationInfo {
pub scheme: String,
pub credentials: Option<String>,
}Expand description
Authentication info for push notification delivery per proto spec
Fields§
§scheme: StringAuth scheme (e.g., “bearer”, “api_key”)
credentials: Option<String>Credentials (e.g., token value) — optional in RC 1.0
Trait Implementations§
Source§impl Clone for AuthenticationInfo
impl Clone for AuthenticationInfo
Source§fn clone(&self) -> AuthenticationInfo
fn clone(&self) -> AuthenticationInfo
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 AuthenticationInfo
impl Debug for AuthenticationInfo
Source§impl<'de> Deserialize<'de> for AuthenticationInfo
impl<'de> Deserialize<'de> for AuthenticationInfo
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 AuthenticationInfo
impl PartialEq for AuthenticationInfo
Source§impl Serialize for AuthenticationInfo
impl Serialize for AuthenticationInfo
impl StructuralPartialEq for AuthenticationInfo
Auto Trait Implementations§
impl Freeze for AuthenticationInfo
impl RefUnwindSafe for AuthenticationInfo
impl Send for AuthenticationInfo
impl Sync for AuthenticationInfo
impl Unpin for AuthenticationInfo
impl UnwindSafe for AuthenticationInfo
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