Struct frankenstein::api_params::DeleteMessageParams
source · pub struct DeleteMessageParams {
pub chat_id: ChatId,
pub message_id: i32,
}
Fields§
§chat_id: ChatId
§message_id: i32
Implementations§
Trait Implementations§
source§impl Clone for DeleteMessageParams
impl Clone for DeleteMessageParams
source§fn clone(&self) -> DeleteMessageParams
fn clone(&self) -> DeleteMessageParams
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 DeleteMessageParams
impl Debug for DeleteMessageParams
source§impl<'de> Deserialize<'de> for DeleteMessageParams
impl<'de> Deserialize<'de> for DeleteMessageParams
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
source§impl PartialEq for DeleteMessageParams
impl PartialEq for DeleteMessageParams
source§fn eq(&self, other: &DeleteMessageParams) -> bool
fn eq(&self, other: &DeleteMessageParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DeleteMessageParams
impl Serialize for DeleteMessageParams
impl Eq for DeleteMessageParams
impl StructuralPartialEq for DeleteMessageParams
Auto Trait Implementations§
impl Freeze for DeleteMessageParams
impl RefUnwindSafe for DeleteMessageParams
impl Send for DeleteMessageParams
impl Sync for DeleteMessageParams
impl Unpin for DeleteMessageParams
impl UnwindSafe for DeleteMessageParams
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