pub enum EphemeralTestEvent {
ReadReceipt,
ReadReceiptOther,
Typing,
Custom(JsonValue),
}
Expand description
Test events that can be added to the ephemeral events.
Variants
ReadReceipt
ReadReceiptOther
Typing
Custom(JsonValue)
Implementations
sourceimpl EphemeralTestEvent
impl EphemeralTestEvent
sourcepub fn into_json_value(self) -> JsonValue
pub fn into_json_value(self) -> JsonValue
Get the JSON representation of this test event.
sourcepub fn into_raw_event(self) -> Raw<AnySyncEphemeralRoomEvent>
pub fn into_raw_event(self) -> Raw<AnySyncEphemeralRoomEvent>
Get the typed JSON representation of this test event.
Auto Trait Implementations
impl RefUnwindSafe for EphemeralTestEvent
impl Send for EphemeralTestEvent
impl Sync for EphemeralTestEvent
impl Unpin for EphemeralTestEvent
impl UnwindSafe for EphemeralTestEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more