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
sourceimpl AsRef<ProcessPushNotification> for ProcessPushNotification
impl AsRef<ProcessPushNotification> for ProcessPushNotification
sourcefn as_ref(&self) -> &ProcessPushNotification
fn as_ref(&self) -> &ProcessPushNotification
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for ProcessPushNotification
impl Clone for ProcessPushNotification
sourcefn clone(&self) -> ProcessPushNotification
fn clone(&self) -> ProcessPushNotification
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ProcessPushNotification
impl Debug for ProcessPushNotification
sourceimpl Default for ProcessPushNotification
impl Default for ProcessPushNotification
sourcefn default() -> ProcessPushNotification
fn default() -> ProcessPushNotification
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ProcessPushNotification
impl<'de> Deserialize<'de> for ProcessPushNotification
sourcefn 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
sourceimpl Serialize for ProcessPushNotification
impl Serialize for ProcessPushNotification
Auto Trait Implementations
impl RefUnwindSafe for ProcessPushNotification
impl Send for ProcessPushNotification
impl Sync for ProcessPushNotification
impl Unpin for ProcessPushNotification
impl UnwindSafe for ProcessPushNotification
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more