Struct rust_tdlib::types::DeleteChatHistory  
source · [−]pub struct DeleteChatHistory { /* private fields */ }Expand description
Deletes all messages in the chat. Use chat.can_be_deleted_only_for_self and chat.can_be_deleted_for_all_users fields to find whether and how the method can be applied to the chat
Implementations
Trait Implementations
sourceimpl AsRef<DeleteChatHistory> for DeleteChatHistory
 
impl AsRef<DeleteChatHistory> for DeleteChatHistory
sourcefn as_ref(&self) -> &DeleteChatHistory
 
fn as_ref(&self) -> &DeleteChatHistory
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for DeleteChatHistory
 
impl Clone for DeleteChatHistory
sourcefn clone(&self) -> DeleteChatHistory
 
fn clone(&self) -> DeleteChatHistory
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 DeleteChatHistory
 
impl Debug for DeleteChatHistory
sourceimpl Default for DeleteChatHistory
 
impl Default for DeleteChatHistory
sourcefn default() -> DeleteChatHistory
 
fn default() -> DeleteChatHistory
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DeleteChatHistory
 
impl<'de> Deserialize<'de> for DeleteChatHistory
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 DeleteChatHistory
 
impl Serialize for DeleteChatHistory
Auto Trait Implementations
impl RefUnwindSafe for DeleteChatHistory
impl Send for DeleteChatHistory
impl Sync for DeleteChatHistory
impl Unpin for DeleteChatHistory
impl UnwindSafe for DeleteChatHistory
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