Struct rust_tdlib::types::DeleteChat
source · [−]pub struct DeleteChat { /* private fields */ }Expand description
Deletes a chat along with all messages in the corresponding chat for all chat members; requires owner privileges. For group chats this will release the username and remove all members. Chats with more than 1000 members can’t be deleted using this method
Implementations
Trait Implementations
sourceimpl AsRef<DeleteChat> for DeleteChat
impl AsRef<DeleteChat> for DeleteChat
sourcefn as_ref(&self) -> &DeleteChat
fn as_ref(&self) -> &DeleteChat
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for DeleteChat
impl Clone for DeleteChat
sourcefn clone(&self) -> DeleteChat
fn clone(&self) -> DeleteChat
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 DeleteChat
impl Debug for DeleteChat
sourceimpl Default for DeleteChat
impl Default for DeleteChat
sourcefn default() -> DeleteChat
fn default() -> DeleteChat
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DeleteChat
impl<'de> Deserialize<'de> for DeleteChat
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 DeleteChat
impl Serialize for DeleteChat
Auto Trait Implementations
impl RefUnwindSafe for DeleteChat
impl Send for DeleteChat
impl Sync for DeleteChat
impl Unpin for DeleteChat
impl UnwindSafe for DeleteChat
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