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