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 ==.source§impl Serialize for TargetMessage
impl Serialize for TargetMessage
impl Eq for TargetMessage
impl StructuralEq for TargetMessage
impl StructuralPartialEq for TargetMessage
Auto Trait Implementations§
impl RefUnwindSafe for TargetMessage
impl Send for TargetMessage
impl Sync for TargetMessage
impl Unpin for TargetMessage
impl UnwindSafe for TargetMessage
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