pub struct MessageView {
pub id: String,
pub rev: String,
pub text: String,
pub facets: Option<Vec<Facet>>,
pub sender: MessageSender,
pub sent_at: String,
}Expand description
Individual message representation in chat.bsky.convo.defs#messageView.
Fields§
§id: StringUnique message identifier string.
rev: StringRevision identifier.
text: StringText payload of the message.
facets: Option<Vec<Facet>>Rich text facets associated with the message text if present.
sender: MessageSenderSender metadata.
sent_at: StringISO 8601 timestamp string when the message was sent.
Trait Implementations§
Source§impl Clone for MessageView
impl Clone for MessageView
Source§impl Debug for MessageView
impl Debug for MessageView
Source§impl<'de> Deserialize<'de> for MessageView
impl<'de> Deserialize<'de> for MessageView
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 Eq for MessageView
Source§impl PartialEq for MessageView
impl PartialEq for MessageView
Source§impl Serialize for MessageView
impl Serialize for MessageView
impl StructuralPartialEq for MessageView
Auto Trait Implementations§
impl Forget for MessageView
impl Freeze for MessageView
impl Move for MessageView
impl RefUnwindSafe for MessageView
impl Send for MessageView
impl Sync for MessageView
impl Unpin for MessageView
impl UnsafeUnpin for MessageView
impl UnwindSafe for MessageView
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