pub struct DeleteMessage { /* private fields */ }
Implementations
sourceimpl DeleteMessage
impl DeleteMessage
pub fn new<C, M>(chat: C, message_id: M) -> Selfwhere
C: ToChatRef,
M: ToMessageId,
Trait Implementations
sourceimpl Clone for DeleteMessage
impl Clone for DeleteMessage
sourcefn clone(&self) -> DeleteMessage
fn clone(&self) -> DeleteMessage
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 moresourceimpl Debug for DeleteMessage
impl Debug for DeleteMessage
sourceimpl PartialEq<DeleteMessage> for DeleteMessage
impl PartialEq<DeleteMessage> for DeleteMessage
sourcefn eq(&self, other: &DeleteMessage) -> bool
fn eq(&self, other: &DeleteMessage) -> bool
sourceimpl PartialOrd<DeleteMessage> for DeleteMessage
impl PartialOrd<DeleteMessage> for DeleteMessage
sourcefn partial_cmp(&self, other: &DeleteMessage) -> Option<Ordering>
fn partial_cmp(&self, other: &DeleteMessage) -> Option<Ordering>
1.0.0 · sourcefn 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 moresourceimpl Request for DeleteMessage
impl Request for DeleteMessage
type Type = JsonRequestType<DeleteMessage>
type Response = JsonTrueToUnitResponse
fn serialize(&self) -> Result<HttpRequest, Error>
fn detach(&self) -> DetachedRequest<Self::Response>
sourceimpl Serialize for DeleteMessage
impl Serialize for DeleteMessage
impl StructuralPartialEq for DeleteMessage
Auto Trait Implementations
impl RefUnwindSafe for DeleteMessage
impl Send for DeleteMessage
impl Sync for DeleteMessage
impl Unpin for DeleteMessage
impl UnwindSafe for DeleteMessage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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