pub struct RegisterDevice {
pub device_token: DeviceToken,
pub other_user_ids: Vec<i32>,
}Expand description
Registers the currently used device for receiving push notifications
Fields§
§device_token: DeviceTokenDevice token
other_user_ids: Vec<i32>List of at most 100 user identifiers of other users currently using the client
Trait Implementations§
Source§impl Clone for RegisterDevice
impl Clone for RegisterDevice
Source§fn clone(&self) -> RegisterDevice
fn clone(&self) -> RegisterDevice
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 RegisterDevice
impl Debug for RegisterDevice
Source§impl<'de> Deserialize<'de> for RegisterDevice
impl<'de> Deserialize<'de> for RegisterDevice
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 Method for RegisterDevice
impl Method for RegisterDevice
Auto Trait Implementations§
impl Freeze for RegisterDevice
impl RefUnwindSafe for RegisterDevice
impl Send for RegisterDevice
impl Sync for RegisterDevice
impl Unpin for RegisterDevice
impl UnwindSafe for RegisterDevice
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