Struct rust_tdlib::types::UpdateSecretChat
source · [−]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
sourceimpl 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
sourceimpl AsRef<UpdateSecretChat> for UpdateSecretChat
impl AsRef<UpdateSecretChat> for UpdateSecretChat
sourcefn as_ref(&self) -> &UpdateSecretChat
fn as_ref(&self) -> &UpdateSecretChat
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for UpdateSecretChat
impl Clone for UpdateSecretChat
sourcefn clone(&self) -> UpdateSecretChat
fn clone(&self) -> UpdateSecretChat
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 UpdateSecretChat
impl Debug for UpdateSecretChat
sourceimpl Default for UpdateSecretChat
impl Default for UpdateSecretChat
sourcefn default() -> UpdateSecretChat
fn default() -> UpdateSecretChat
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UpdateSecretChat
impl<'de> Deserialize<'de> for UpdateSecretChat
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 UpdateSecretChat
impl Serialize for UpdateSecretChat
impl TDUpdate for UpdateSecretChat
Auto Trait Implementations
impl RefUnwindSafe for UpdateSecretChat
impl Send for UpdateSecretChat
impl Sync for UpdateSecretChat
impl Unpin for UpdateSecretChat
impl UnwindSafe for UpdateSecretChat
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