pub struct GetRepliedMessage { /* private fields */ }
Expand description
Returns information about a message that is replied by a given message. Also returns the pinned message, the game message, and the invoice message for messages of the types messagePinMessage, messageGameScore, and messagePaymentSuccessful respectively
Implementations§
Trait Implementations§
Source§impl AsRef<GetRepliedMessage> for GetRepliedMessage
impl AsRef<GetRepliedMessage> for GetRepliedMessage
Source§fn as_ref(&self) -> &GetRepliedMessage
fn as_ref(&self) -> &GetRepliedMessage
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for GetRepliedMessage
impl Clone for GetRepliedMessage
Source§fn clone(&self) -> GetRepliedMessage
fn clone(&self) -> GetRepliedMessage
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 GetRepliedMessage
impl Debug for GetRepliedMessage
Source§impl Default for GetRepliedMessage
impl Default for GetRepliedMessage
Source§fn default() -> GetRepliedMessage
fn default() -> GetRepliedMessage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetRepliedMessage
impl<'de> Deserialize<'de> for GetRepliedMessage
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
Auto Trait Implementations§
impl Freeze for GetRepliedMessage
impl RefUnwindSafe for GetRepliedMessage
impl Send for GetRepliedMessage
impl Sync for GetRepliedMessage
impl Unpin for GetRepliedMessage
impl UnwindSafe for GetRepliedMessage
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