pub struct UpdateSecretChat { /* private fields */ }
Expand description
Some data of a secret chat has changed. This update is guaranteed to come before the secret chat identifier is returned to the application
Implementations§
Source§impl UpdateSecretChat
impl UpdateSecretChat
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> UpdateSecretChatBuilder
pub fn secret_chat(&self) -> &SecretChat
Trait Implementations§
Source§impl AsRef<UpdateSecretChat> for UpdateSecretChat
impl AsRef<UpdateSecretChat> for UpdateSecretChat
Source§fn as_ref(&self) -> &UpdateSecretChat
fn as_ref(&self) -> &UpdateSecretChat
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for UpdateSecretChat
impl Clone for UpdateSecretChat
Source§fn clone(&self) -> UpdateSecretChat
fn clone(&self) -> UpdateSecretChat
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 UpdateSecretChat
impl Debug for UpdateSecretChat
Source§impl Default for UpdateSecretChat
impl Default for UpdateSecretChat
Source§fn default() -> UpdateSecretChat
fn default() -> UpdateSecretChat
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateSecretChat
impl<'de> Deserialize<'de> for UpdateSecretChat
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 Serialize for UpdateSecretChat
impl Serialize for UpdateSecretChat
impl TDUpdate for UpdateSecretChat
Auto Trait Implementations§
impl Freeze for UpdateSecretChat
impl RefUnwindSafe for UpdateSecretChat
impl Send for UpdateSecretChat
impl Sync for UpdateSecretChat
impl Unpin for UpdateSecretChat
impl UnwindSafe for UpdateSecretChat
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