pub enum RoomAccountDataTestEvent {
FullyRead,
Custom(JsonValue),
}
Expand description
Test events that can be added to the room account data.
Variants
FullyRead
Custom(JsonValue)
Implementations
sourceimpl RoomAccountDataTestEvent
impl RoomAccountDataTestEvent
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<AnyRoomAccountDataEvent>
pub fn into_raw_event(self) -> Raw<AnyRoomAccountDataEvent>
Get the typed JSON representation of this test event.
Auto Trait Implementations
impl RefUnwindSafe for RoomAccountDataTestEvent
impl Send for RoomAccountDataTestEvent
impl Sync for RoomAccountDataTestEvent
impl Unpin for RoomAccountDataTestEvent
impl UnwindSafe for RoomAccountDataTestEvent
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