pub enum TimelineTestEvent {
Show 23 variants
Alias,
Aliases,
Create,
Encryption,
HistoryVisibility,
JoinRules,
Member,
MemberInvite,
MemberNameChange,
MessageEdit,
MessageEmote,
MessageNotice,
MessageText,
PowerLevels,
Reaction,
RedactedInvalid,
RedactedMessage,
RedactedState,
Redaction,
RoomAvatar,
RoomName,
RoomTopic,
Custom(JsonValue),
}Expand description
Test events that can be added to the timeline.
Variants
Alias
Aliases
Create
Encryption
HistoryVisibility
JoinRules
Member
MemberInvite
MemberNameChange
MessageEdit
MessageEmote
MessageNotice
MessageText
PowerLevels
Reaction
RedactedInvalid
RedactedMessage
RedactedState
Redaction
RoomAvatar
RoomName
RoomTopic
Custom(JsonValue)
Implementations
sourceimpl TimelineTestEvent
impl TimelineTestEvent
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<AnySyncTimelineEvent>
pub fn into_raw_event(self) -> Raw<AnySyncTimelineEvent>
Get the typed JSON representation of this test event.
Auto Trait Implementations
impl RefUnwindSafe for TimelineTestEvent
impl Send for TimelineTestEvent
impl Sync for TimelineTestEvent
impl Unpin for TimelineTestEvent
impl UnwindSafe for TimelineTestEvent
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