pub struct MessageOriginChannel {
pub chat: Chat,
pub date: Integer,
pub message_id: Integer,
pub author_signature: Option<String>,
}Expand description
The message was originally sent to a channel chat.
Fields§
§chat: ChatChat that sent the message originally.
date: IntegerDate the message was sent originally in Unix time.
message_id: IntegerUnique message identifier inside the chat.
Signature of the original post author.
Implementations§
Source§impl MessageOriginChannel
impl MessageOriginChannel
Trait Implementations§
Source§impl Clone for MessageOriginChannel
impl Clone for MessageOriginChannel
Source§fn clone(&self) -> MessageOriginChannel
fn clone(&self) -> MessageOriginChannel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MessageOriginChannel
impl Debug for MessageOriginChannel
Source§impl<'de> Deserialize<'de> for MessageOriginChannel
impl<'de> Deserialize<'de> for MessageOriginChannel
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<MessageOriginChannel> for MessageOrigin
impl From<MessageOriginChannel> for MessageOrigin
Source§fn from(value: MessageOriginChannel) -> Self
fn from(value: MessageOriginChannel) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MessageOriginChannel
impl PartialEq for MessageOriginChannel
Source§fn eq(&self, other: &MessageOriginChannel) -> bool
fn eq(&self, other: &MessageOriginChannel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MessageOriginChannel
impl Serialize for MessageOriginChannel
impl StructuralPartialEq for MessageOriginChannel
Auto Trait Implementations§
impl Freeze for MessageOriginChannel
impl RefUnwindSafe for MessageOriginChannel
impl Send for MessageOriginChannel
impl Sync for MessageOriginChannel
impl Unpin for MessageOriginChannel
impl UnsafeUnpin for MessageOriginChannel
impl UnwindSafe for MessageOriginChannel
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