pub(crate) struct PushSubscriberState {
device_token: Option<String>,
heartbeat_subscribed: bool,
}
Fields§
§device_token: Option<String>
Device token.
heartbeat_subscribed: bool
If subscribed to heartbeat push notifications.
Trait Implementations§
source§impl Debug for PushSubscriberState
impl Debug for PushSubscriberState
source§impl Default for PushSubscriberState
impl Default for PushSubscriberState
source§fn default() -> PushSubscriberState
fn default() -> PushSubscriberState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PushSubscriberState
impl RefUnwindSafe for PushSubscriberState
impl Send for PushSubscriberState
impl Sync for PushSubscriberState
impl Unpin for PushSubscriberState
impl UnwindSafe for PushSubscriberState
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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