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
sourceimpl AsRef<ReportChat> for ReportChat
impl AsRef<ReportChat> for ReportChat
sourcefn as_ref(&self) -> &ReportChat
fn as_ref(&self) -> &ReportChat
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for ReportChat
impl Clone for ReportChat
sourcefn clone(&self) -> ReportChat
fn clone(&self) -> ReportChat
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 ReportChat
impl Debug for ReportChat
sourceimpl Default for ReportChat
impl Default for ReportChat
sourcefn default() -> ReportChat
fn default() -> ReportChat
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ReportChat
impl<'de> Deserialize<'de> for ReportChat
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 ReportChat
impl Serialize for ReportChat
Auto Trait Implementations
impl RefUnwindSafe for ReportChat
impl Send for ReportChat
impl Sync for ReportChat
impl Unpin for ReportChat
impl UnwindSafe for ReportChat
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