Struct telexide::model::ForwardData[][src]

pub struct ForwardData {
    pub from: Option<User>,
    pub from_chat: Option<Chat>,
    pub from_message_id: Option<i64>,
    pub signature: Option<String>,
    pub sender_name: Option<String>,
    pub date: DateTime<Utc>,
}

Holds information about the forwarded message

Fields

from: Option<User>

For forwarded messages, sender of the original message

from_chat: Option<Chat>

For messages forwarded from channels, information about the original channel

from_message_id: Option<i64>

For messages forwarded from channels, identifier of the original message in the channel

signature: Option<String>

For messages forwarded from channels, signature of the post author if present

sender_name: Option<String>

Sender’s name for messages forwarded from users who disallow adding a link to their account in forwarded messages

date: DateTime<Utc>

For forwarded messages, date the original message was sent in Unix time

Trait Implementations

impl Clone for ForwardData[src]

impl Debug for ForwardData[src]

impl PartialEq<ForwardData> for ForwardData[src]

impl StructuralPartialEq for ForwardData[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CloneAny for T where
    T: Any + Clone
[src]

impl<T> DebugAny for T where
    T: Any + Debug
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnsafeAny for T where
    T: Any