pub enum AnyOtherFullStateEventContent {
Show 20 variants
PolicyRuleRoom(FullStateEventContent<PolicyRuleRoomEventContent>),
PolicyRuleServer(FullStateEventContent<PolicyRuleServerEventContent>),
PolicyRuleUser(FullStateEventContent<PolicyRuleUserEventContent>),
RoomAliases(FullStateEventContent<RoomAliasesEventContent>),
RoomAvatar(FullStateEventContent<RoomAvatarEventContent>),
RoomCanonicalAlias(FullStateEventContent<RoomCanonicalAliasEventContent>),
RoomCreate(FullStateEventContent<RoomCreateEventContent>),
RoomEncryption(FullStateEventContent<RoomEncryptionEventContent>),
RoomGuestAccess(FullStateEventContent<RoomGuestAccessEventContent>),
RoomHistoryVisibility(FullStateEventContent<RoomHistoryVisibilityEventContent>),
RoomJoinRules(FullStateEventContent<RoomJoinRulesEventContent>),
RoomName(FullStateEventContent<RoomNameEventContent>),
RoomPinnedEvents(FullStateEventContent<RoomPinnedEventsEventContent>),
RoomPowerLevels(FullStateEventContent<RoomPowerLevelsEventContent>),
RoomServerAcl(FullStateEventContent<RoomServerAclEventContent>),
RoomThirdPartyInvite(FullStateEventContent<RoomThirdPartyInviteEventContent>),
RoomTombstone(FullStateEventContent<RoomTombstoneEventContent>),
RoomTopic(FullStateEventContent<RoomTopicEventContent>),
SpaceChild(FullStateEventContent<SpaceChildEventContent>),
SpaceParent(FullStateEventContent<SpaceParentEventContent>),
// some variants omitted
}
Expand description
An enum over all the full state event contents that don’t have their own
TimelineItemContent
variant.
Variants§
PolicyRuleRoom(FullStateEventContent<PolicyRuleRoomEventContent>)
m.policy.rule.room
PolicyRuleServer(FullStateEventContent<PolicyRuleServerEventContent>)
m.policy.rule.server
PolicyRuleUser(FullStateEventContent<PolicyRuleUserEventContent>)
m.policy.rule.user
RoomAliases(FullStateEventContent<RoomAliasesEventContent>)
m.room.aliases
RoomAvatar(FullStateEventContent<RoomAvatarEventContent>)
m.room.avatar
RoomCanonicalAlias(FullStateEventContent<RoomCanonicalAliasEventContent>)
m.room.canonical_alias
RoomCreate(FullStateEventContent<RoomCreateEventContent>)
m.room.create
RoomEncryption(FullStateEventContent<RoomEncryptionEventContent>)
m.room.encryption
RoomGuestAccess(FullStateEventContent<RoomGuestAccessEventContent>)
m.room.guest_access
RoomHistoryVisibility(FullStateEventContent<RoomHistoryVisibilityEventContent>)
m.room.history_visibility
RoomJoinRules(FullStateEventContent<RoomJoinRulesEventContent>)
m.room.join_rules
RoomName(FullStateEventContent<RoomNameEventContent>)
m.room.name
RoomPinnedEvents(FullStateEventContent<RoomPinnedEventsEventContent>)
m.room.pinned_events
RoomPowerLevels(FullStateEventContent<RoomPowerLevelsEventContent>)
m.room.power_levels
RoomServerAcl(FullStateEventContent<RoomServerAclEventContent>)
m.room.server_acl
RoomThirdPartyInvite(FullStateEventContent<RoomThirdPartyInviteEventContent>)
m.room.third_party_invite
RoomTombstone(FullStateEventContent<RoomTombstoneEventContent>)
m.room.tombstone
RoomTopic(FullStateEventContent<RoomTopicEventContent>)
m.room.topic
SpaceChild(FullStateEventContent<SpaceChildEventContent>)
m.space.child
SpaceParent(FullStateEventContent<SpaceParentEventContent>)
m.space.parent
Implementations§
Source§impl AnyOtherFullStateEventContent
impl AnyOtherFullStateEventContent
Sourcepub fn event_type(&self) -> StateEventType
pub fn event_type(&self) -> StateEventType
Get the event’s type, like m.room.create
.
Trait Implementations§
Source§impl Clone for AnyOtherFullStateEventContent
impl Clone for AnyOtherFullStateEventContent
Source§fn clone(&self) -> AnyOtherFullStateEventContent
fn clone(&self) -> AnyOtherFullStateEventContent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AnyOtherFullStateEventContent
impl RefUnwindSafe for AnyOtherFullStateEventContent
impl Send for AnyOtherFullStateEventContent
impl Sync for AnyOtherFullStateEventContent
impl Unpin for AnyOtherFullStateEventContent
impl UnwindSafe for AnyOtherFullStateEventContent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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<>
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more