Struct rust_tdlib::types::ProcessPushNotification
source · pub struct ProcessPushNotification { /* private fields */ }
Expand description
Handles a push notification. Returns error with code 406 if the push notification is not supported and connection to the server is required to fetch new data. Can be called before authorization
Implementations§
Trait Implementations§
source§impl AsRef<ProcessPushNotification> for ProcessPushNotification
impl AsRef<ProcessPushNotification> for ProcessPushNotification
source§fn as_ref(&self) -> &ProcessPushNotification
fn as_ref(&self) -> &ProcessPushNotification
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for ProcessPushNotification
impl Clone for ProcessPushNotification
source§fn clone(&self) -> ProcessPushNotification
fn clone(&self) -> ProcessPushNotification
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 ProcessPushNotification
impl Debug for ProcessPushNotification
source§impl Default for ProcessPushNotification
impl Default for ProcessPushNotification
source§fn default() -> ProcessPushNotification
fn default() -> ProcessPushNotification
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ProcessPushNotification
impl<'de> Deserialize<'de> for ProcessPushNotification
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