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,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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