Struct rust_tdlib::types::ChatActionBarReportAddBlock  
source · [−]pub struct ChatActionBarReportAddBlock { /* private fields */ }Expand description
The chat is a private or secret chat, which can be reported using the method reportChat, or the other user can be blocked using the method toggleMessageSenderIsBlocked, or the other user can be added to the contact list using the method addContact
Implementations
Trait Implementations
sourceimpl AsRef<ChatActionBarReportAddBlock> for ChatActionBarReportAddBlock
 
impl AsRef<ChatActionBarReportAddBlock> for ChatActionBarReportAddBlock
sourcefn as_ref(&self) -> &ChatActionBarReportAddBlock
 
fn as_ref(&self) -> &ChatActionBarReportAddBlock
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for ChatActionBarReportAddBlock
 
impl Clone for ChatActionBarReportAddBlock
sourcefn clone(&self) -> ChatActionBarReportAddBlock
 
fn clone(&self) -> ChatActionBarReportAddBlock
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 ChatActionBarReportAddBlock
 
impl Debug for ChatActionBarReportAddBlock
sourceimpl Default for ChatActionBarReportAddBlock
 
impl Default for ChatActionBarReportAddBlock
sourcefn default() -> ChatActionBarReportAddBlock
 
fn default() -> ChatActionBarReportAddBlock
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ChatActionBarReportAddBlock
 
impl<'de> Deserialize<'de> for ChatActionBarReportAddBlock
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
impl TDChatActionBar for ChatActionBarReportAddBlock
Auto Trait Implementations
impl RefUnwindSafe for ChatActionBarReportAddBlock
impl Send for ChatActionBarReportAddBlock
impl Sync for ChatActionBarReportAddBlock
impl Unpin for ChatActionBarReportAddBlock
impl UnwindSafe for ChatActionBarReportAddBlock
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