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
Auto Trait Implementations§
impl Freeze for ReportChat
impl RefUnwindSafe for ReportChat
impl Send for ReportChat
impl Sync for ReportChat
impl Unpin for ReportChat
impl UnwindSafe for ReportChat
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more