pub struct EventPayloadPinnedMessage {
pub msg_id: MsgId,
pub chat: Chat,
pub from: From,
pub text: String,
pub format: Option<MessageFormat>,
pub parts: Vec<MessageParts>,
pub timestamp: Timestamp,
}Expand description
Message payload event type pinnedMessage
Fields§
§msg_id: MsgId§chat: Chat§from: From§text: String§format: Option<MessageFormat>§parts: Vec<MessageParts>§timestamp: TimestampTrait Implementations§
Source§impl Clone for EventPayloadPinnedMessage
impl Clone for EventPayloadPinnedMessage
Source§fn clone(&self) -> EventPayloadPinnedMessage
fn clone(&self) -> EventPayloadPinnedMessage
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 EventPayloadPinnedMessage
impl Debug for EventPayloadPinnedMessage
Source§impl Default for EventPayloadPinnedMessage
impl Default for EventPayloadPinnedMessage
Source§fn default() -> EventPayloadPinnedMessage
fn default() -> EventPayloadPinnedMessage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventPayloadPinnedMessage
impl<'de> Deserialize<'de> for EventPayloadPinnedMessage
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
impl StructuralPartialEq for EventPayloadPinnedMessage
Auto Trait Implementations§
impl Freeze for EventPayloadPinnedMessage
impl RefUnwindSafe for EventPayloadPinnedMessage
impl Send for EventPayloadPinnedMessage
impl Sync for EventPayloadPinnedMessage
impl Unpin for EventPayloadPinnedMessage
impl UnwindSafe for EventPayloadPinnedMessage
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