pub struct DeleteMessage { /* private fields */ }
Implementations§
source§impl DeleteMessage
impl DeleteMessage
pub fn new<C, M>(chat: C, message_id: M) -> Selfwhere
C: ToChatRef,
M: ToMessageId,
Trait Implementations§
source§impl Clone for DeleteMessage
impl Clone for DeleteMessage
source§fn clone(&self) -> DeleteMessage
fn clone(&self) -> DeleteMessage
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 DeleteMessage
impl Debug for DeleteMessage
source§impl PartialEq<DeleteMessage> for DeleteMessage
impl PartialEq<DeleteMessage> for DeleteMessage
source§fn eq(&self, other: &DeleteMessage) -> bool
fn eq(&self, other: &DeleteMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<DeleteMessage> for DeleteMessage
impl PartialOrd<DeleteMessage> for DeleteMessage
source§fn partial_cmp(&self, other: &DeleteMessage) -> Option<Ordering>
fn partial_cmp(&self, other: &DeleteMessage) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more