Struct rust_tdlib::types::ReportChat
source · pub struct ReportChat { /* private fields */ }
Expand description
Reports a chat to the Telegram moderators. A chat can be reported only from the chat action bar, or if chat.can_be_reported
Implementations§
Trait Implementations§
source§impl AsRef<ReportChat> for ReportChat
impl AsRef<ReportChat> for ReportChat
source§fn as_ref(&self) -> &ReportChat
fn as_ref(&self) -> &ReportChat
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for ReportChat
impl Clone for ReportChat
source§fn clone(&self) -> ReportChat
fn clone(&self) -> ReportChat
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 ReportChat
impl Debug for ReportChat
source§impl Default for ReportChat
impl Default for ReportChat
source§fn default() -> ReportChat
fn default() -> ReportChat
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ReportChat
impl<'de> Deserialize<'de> for ReportChat
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