pub enum StateTestEvent {
Show 20 variants
Alias,
Aliases,
Create,
Encryption,
HistoryVisibility,
JoinRules,
Member,
MemberAdditional,
MemberBan,
MemberInvite,
MemberLeave,
MemberNameChange,
PowerLevels,
RedactedInvalid,
RedactedState,
RoomAvatar,
RoomName,
RoomPinnedEvents,
RoomTopic,
Custom(Value),
}
Expand description
Test events that can be added to the state.
Variants§
Alias
Aliases
Create
Encryption
HistoryVisibility
JoinRules
Member
MemberAdditional
MemberBan
MemberInvite
MemberLeave
MemberNameChange
PowerLevels
RedactedInvalid
RedactedState
RoomAvatar
RoomName
RoomPinnedEvents
RoomTopic
Custom(Value)
Implementations§
Source§impl StateTestEvent
impl StateTestEvent
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<AnySyncStateEvent>
pub fn into_raw_event(self) -> Raw<AnySyncStateEvent>
Get the typed JSON representation of this test event.
Auto Trait Implementations§
impl Freeze for StateTestEvent
impl RefUnwindSafe for StateTestEvent
impl Send for StateTestEvent
impl Sync for StateTestEvent
impl Unpin for StateTestEvent
impl UnwindSafe for StateTestEvent
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
Source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
Source§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>