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 Clone for ForwardData
[src]fn clone(&self) -> ForwardData
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<ForwardData> for ForwardData
[src]
impl PartialEq<ForwardData> for ForwardData
[src]fn eq(&self, other: &ForwardData) -> bool
[src]
fn ne(&self, other: &ForwardData) -> bool
[src]
impl StructuralPartialEq for ForwardData
[src]
impl StructuralPartialEq for ForwardData
[src]Auto Trait Implementations
impl RefUnwindSafe for ForwardData
impl RefUnwindSafe for ForwardData
impl Send for ForwardData
impl Send for ForwardData
impl Sync for ForwardData
impl Sync for ForwardData
impl Unpin for ForwardData
impl Unpin for ForwardData
impl UnwindSafe for ForwardData
impl UnwindSafe for ForwardData
Blanket Implementations
impl<T> CloneAny for T where
T: Any + Clone,
[src]
impl<T> CloneAny for T where
T: Any + Clone,
[src]pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
[src]
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
[src]
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
[src]
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
[src]
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,