pub struct EditedEvent {
pub date: i64,
pub text: String,
pub components: Vec<BubbleComponent>,
pub guid: Option<String>,
}Expand description
Represents a single edit event for a message part
Fields§
§date: i64The date the message part was edited
text: StringThe content of the edited message part, deserialized from the
typedstream format.
components: Vec<BubbleComponent>The parsed typedstream component data used to add attributes to the message text
guid: Option<String>A GUID reference to another message
Trait Implementations§
Source§impl Debug for EditedEvent
impl Debug for EditedEvent
Source§impl PartialEq for EditedEvent
impl PartialEq for EditedEvent
Source§fn eq(&self, other: &EditedEvent) -> bool
fn eq(&self, other: &EditedEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EditedEvent
Auto Trait Implementations§
impl Freeze for EditedEvent
impl RefUnwindSafe for EditedEvent
impl Send for EditedEvent
impl Sync for EditedEvent
impl Unpin for EditedEvent
impl UnsafeUnpin for EditedEvent
impl UnwindSafe for EditedEvent
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