Enum matrix_sdk_test::StateTestEvent
source · [−]pub enum StateTestEvent {
Show 16 variants
Alias,
Aliases,
Create,
Encryption,
HistoryVisibility,
JoinRules,
Member,
MemberInvite,
MemberNameChange,
PowerLevels,
RedactedInvalid,
RedactedState,
RoomAvatar,
RoomName,
RoomTopic,
Custom(JsonValue),
}
Expand description
Test events that can be added to the state.
Variants
Alias
Aliases
Create
Encryption
HistoryVisibility
JoinRules
Member
MemberInvite
MemberNameChange
PowerLevels
RedactedInvalid
RedactedState
RoomAvatar
RoomName
RoomTopic
Custom(JsonValue)
Implementations
sourceimpl 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 RefUnwindSafe for StateTestEvent
impl Send for StateTestEvent
impl Sync for StateTestEvent
impl Unpin for StateTestEvent
impl UnwindSafe for StateTestEvent
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