pub struct ReplyContentV1 {
pub text: String,
pub target_message_id: MessageId,
pub target_author_name: String,
pub target_content_preview: String,
}Expand description
Reply message content (content_type = 3)
A reply references a target message and includes a snapshot of the target’s author name and content preview so that the reply remains meaningful even if the target message is later deleted or scrolled out of the recent window.
Fields§
§text: String§target_message_id: MessageId§target_content_preview: StringSnapshot of the target message content (~100 chars)
Implementations§
Trait Implementations§
Source§impl Clone for ReplyContentV1
impl Clone for ReplyContentV1
Source§fn clone(&self) -> ReplyContentV1
fn clone(&self) -> ReplyContentV1
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 ReplyContentV1
impl Debug for ReplyContentV1
Source§impl<'de> Deserialize<'de> for ReplyContentV1
impl<'de> Deserialize<'de> for ReplyContentV1
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 for ReplyContentV1
impl PartialEq for ReplyContentV1
Source§fn eq(&self, other: &ReplyContentV1) -> bool
fn eq(&self, other: &ReplyContentV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReplyContentV1
impl Serialize for ReplyContentV1
impl StructuralPartialEq for ReplyContentV1
Auto Trait Implementations§
impl Freeze for ReplyContentV1
impl RefUnwindSafe for ReplyContentV1
impl Send for ReplyContentV1
impl Sync for ReplyContentV1
impl Unpin for ReplyContentV1
impl UnsafeUnpin for ReplyContentV1
impl UnwindSafe for ReplyContentV1
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