pub struct MessageOriginChat {
pub date: Integer,
pub sender_chat: Chat,
pub author_signature: Option<String>,
}Expand description
The message was originally sent on behalf of a chat to a group chat.
Fields§
§date: IntegerDate the message was sent originally in Unix time.
sender_chat: ChatChat that sent the message originally.
For messages originally sent by an anonymous chat administrator, original message author signature.
Implementations§
Trait Implementations§
Source§impl Clone for MessageOriginChat
impl Clone for MessageOriginChat
Source§fn clone(&self) -> MessageOriginChat
fn clone(&self) -> MessageOriginChat
Returns a duplicate of the value. Read more
1.0.0 · 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 MessageOriginChat
impl Debug for MessageOriginChat
Source§impl<'de> Deserialize<'de> for MessageOriginChat
impl<'de> Deserialize<'de> for MessageOriginChat
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<MessageOriginChat> for MessageOrigin
impl From<MessageOriginChat> for MessageOrigin
Source§fn from(value: MessageOriginChat) -> Self
fn from(value: MessageOriginChat) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MessageOriginChat
impl PartialEq for MessageOriginChat
Source§impl Serialize for MessageOriginChat
impl Serialize for MessageOriginChat
impl StructuralPartialEq for MessageOriginChat
Auto Trait Implementations§
impl Freeze for MessageOriginChat
impl RefUnwindSafe for MessageOriginChat
impl Send for MessageOriginChat
impl Sync for MessageOriginChat
impl Unpin for MessageOriginChat
impl UnwindSafe for MessageOriginChat
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