pub struct Forward {
pub date: DateTime<Utc>,
pub from: ForwardedFrom,
pub signature: Option<String>,
pub message_id: Option<i32>,
}Expand description
Information about forwarded message.
Fields§
§date: DateTime<Utc>Date the original message was sent in Unix time.
from: ForwardedFromThe entity that sent the original message.
signature: Option<String>For messages forwarded from channels, signature of the post author if present. For messages forwarded from anonymous admins, authors title, if present.
message_id: Option<i32>For messages forwarded from channels, identifier of the original message in the channel
Trait Implementations§
source§impl<'de> Deserialize<'de> for Forward
impl<'de> Deserialize<'de> for Forward
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 PartialEq<Forward> for Forward
impl PartialEq<Forward> for Forward
impl StructuralPartialEq for Forward
Auto Trait Implementations§
impl RefUnwindSafe for Forward
impl Send for Forward
impl Sync for Forward
impl Unpin for Forward
impl UnwindSafe for Forward
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