Enum tg_flows::TargetMessage
source · pub enum TargetMessage {
Common {
chat_id: Recipient,
message_id: MessageId,
},
Inline {
inline_message_id: String,
},
}Expand description
A message in chat or inline message.
Variants§
Trait Implementations§
source§impl Clone for TargetMessage
impl Clone for TargetMessage
source§fn clone(&self) -> TargetMessage
fn clone(&self) -> TargetMessage
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 TargetMessage
impl Debug for TargetMessage
source§impl<'de> Deserialize<'de> for TargetMessage
impl<'de> Deserialize<'de> for TargetMessage
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 From<String> for TargetMessage
impl From<String> for TargetMessage
source§impl Hash for TargetMessage
impl Hash for TargetMessage
source§impl PartialEq<TargetMessage> for TargetMessage
impl PartialEq<TargetMessage> for TargetMessage
source§fn eq(&self, other: &TargetMessage) -> bool
fn eq(&self, other: &TargetMessage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.