pub struct DeleteMessage { /* private fields */ }
Implementations§
Source§impl DeleteMessage
impl DeleteMessage
pub fn new<C, M>(chat: C, message_id: M) -> DeleteMessagewhere
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 duplicate 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 for DeleteMessage
impl PartialEq for DeleteMessage
Source§impl PartialOrd for DeleteMessage
impl PartialOrd for DeleteMessage
Source§impl 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>
Source§impl Serialize for DeleteMessage
impl Serialize for DeleteMessage
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DeleteMessage
Auto Trait Implementations§
impl Freeze for DeleteMessage
impl RefUnwindSafe for DeleteMessage
impl Send for DeleteMessage
impl Sync for DeleteMessage
impl Unpin for DeleteMessage
impl UnwindSafe for DeleteMessage
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