Enum telegram_bot::types::ForwardFrom
[−]
[src]
pub enum ForwardFrom { User { user: User, }, Channel { channel: Channel, message_id: i64, }, }
Information about the source of the original message.
Variants
User
Sender of the original message.
Fields of User
user: User | Sender of the original message. |
Channel
For messages forwarded from a channel, information about the original channel.
Fields of Channel
channel: Channel | Original channel. |
message_id: i64 | Identifier of the original message in the channel |
Trait Implementations
impl Clone for ForwardFrom
[src]
fn clone(&self) -> ForwardFrom
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialOrd<ForwardFrom> for ForwardFrom
[src]
fn partial_cmp(&self, __arg_0: &ForwardFrom) -> Option<Ordering>
[src]
fn lt(&self, __arg_0: &ForwardFrom) -> bool
[src]
fn le(&self, __arg_0: &ForwardFrom) -> bool
[src]
fn gt(&self, __arg_0: &ForwardFrom) -> bool
[src]
fn ge(&self, __arg_0: &ForwardFrom) -> bool
[src]
impl PartialEq<ForwardFrom> for ForwardFrom
[src]
fn eq(&self, __arg_0: &ForwardFrom) -> bool
[src]
fn ne(&self, __arg_0: &ForwardFrom) -> bool
[src]
impl Debug for ForwardFrom
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.