pub struct PushSettings {
pub push_technology: Option<PushTechnologyType>,
pub vapid_public_key: Option<String>,
}
Fields§
§push_technology: Option<PushTechnologyType>
§vapid_public_key: Option<String>
Implementations§
Source§impl PushSettings
impl PushSettings
pub fn new() -> PushSettings
Trait Implementations§
Source§impl Clone for PushSettings
impl Clone for PushSettings
Source§fn clone(&self) -> PushSettings
fn clone(&self) -> PushSettings
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 Debug for PushSettings
impl Debug for PushSettings
Source§impl Default for PushSettings
impl Default for PushSettings
Source§fn default() -> PushSettings
fn default() -> PushSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PushSettings
impl<'de> Deserialize<'de> for PushSettings
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 PushSettings
impl PartialEq for PushSettings
Source§impl Serialize for PushSettings
impl Serialize for PushSettings
impl StructuralPartialEq for PushSettings
Auto Trait Implementations§
impl Freeze for PushSettings
impl RefUnwindSafe for PushSettings
impl Send for PushSettings
impl Sync for PushSettings
impl Unpin for PushSettings
impl UnwindSafe for PushSettings
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