pub struct RegisterPushDeviceRequest {
pub installation_id: Uuid,
pub platform: PushPlatform,
pub provider: PushProvider,
pub environment: PushEnvironment,
pub app_id: String,
pub push_token: String,
pub notification_public_key: String,
pub key_algorithm: PushKeyAlgorithm,
pub supports_encrypted_preview: bool,
pub supports_background_processing: bool,
}Fields§
§installation_id: Uuid§platform: PushPlatform§provider: PushProvider§environment: PushEnvironment§app_id: String§push_token: String§notification_public_key: String§key_algorithm: PushKeyAlgorithm§supports_encrypted_preview: bool§supports_background_processing: boolImplementations§
Source§impl RegisterPushDeviceRequest
impl RegisterPushDeviceRequest
pub fn new( installation_id: Uuid, platform: PushPlatform, environment: PushEnvironment, app_id: impl Into<String>, push_token: impl Into<String>, notification_public_key: impl Into<String>, ) -> Self
pub fn supports_encrypted_preview( self, supports_encrypted_preview: bool, ) -> Self
pub fn supports_background_processing( self, supports_background_processing: bool, ) -> Self
Trait Implementations§
Source§impl Clone for RegisterPushDeviceRequest
impl Clone for RegisterPushDeviceRequest
Source§impl Debug for RegisterPushDeviceRequest
impl Debug for RegisterPushDeviceRequest
Source§impl<'de> Deserialize<'de> for RegisterPushDeviceRequest
impl<'de> Deserialize<'de> for RegisterPushDeviceRequest
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
impl Eq for RegisterPushDeviceRequest
impl StructuralPartialEq for RegisterPushDeviceRequest
Auto Trait Implementations§
impl Forget for RegisterPushDeviceRequest
impl Freeze for RegisterPushDeviceRequest
impl Move for RegisterPushDeviceRequest
impl RefUnwindSafe for RegisterPushDeviceRequest
impl Send for RegisterPushDeviceRequest
impl Sync for RegisterPushDeviceRequest
impl Unpin for RegisterPushDeviceRequest
impl UnsafeUnpin for RegisterPushDeviceRequest
impl UnwindSafe for RegisterPushDeviceRequest
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.