See TryFromRaw
. This trait is merely a convenience that is be implemented instead of
TryFromRaw
to get a TryFromRaw
implementation with slightly less code if the
conversion can't fail, that is, the raw type and Self
are identical in definition.
Loading content...
Converts the raw type to Self
.
Loading content...
Loading content...
type Raw = EncryptedEventContent
fn from_raw(raw: EncryptedEventContent) -> Self
[src]
type Raw = MessageEventContent
fn from_raw(raw: MessageEventContent) -> Self
[src]
type Raw = CandidatesEventContent
fn from_raw(raw: CandidatesEventContent) -> Self
[src]
type Raw = ForwardedRoomKeyEvent
fn from_raw(raw: ForwardedRoomKeyEvent) -> Self
[src]
type Raw = ForwardedRoomKeyEventContent
fn from_raw(raw: ForwardedRoomKeyEventContent) -> Self
[src]
type Raw = FullyReadEventContent
fn from_raw(raw: FullyReadEventContent) -> Self
[src]
type Raw = IgnoredUserListEvent
fn from_raw(raw: IgnoredUserListEvent) -> Self
[src]
type Raw = IgnoredUserListEventContent
fn from_raw(raw: IgnoredUserListEventContent) -> Self
[src]
type Raw = RequestEventContent
fn from_raw(raw: RequestEventContent) -> Self
[src]
type Raw = PresenceEventContent
fn from_raw(raw: PresenceEventContent) -> Self
[src]
type Raw = PushRulesEventContent
fn from_raw(raw: PushRulesEventContent) -> Self
[src]
type Raw = AliasesEventContent
fn from_raw(raw: AliasesEventContent) -> Self
[src]
type Raw = CanonicalAliasEvent
fn from_raw(raw: CanonicalAliasEvent) -> Self
[src]
type Raw = CanonicalAliasEventContent
fn from_raw(raw: CanonicalAliasEventContent) -> Self
[src]
type Raw = EncryptionEventContent
fn from_raw(raw: EncryptionEventContent) -> Self
[src]
type Raw = GuestAccessEventContent
fn from_raw(raw: GuestAccessEventContent) -> Self
[src]
type Raw = HistoryVisibilityEvent
fn from_raw(raw: HistoryVisibilityEvent) -> Self
[src]
type Raw = HistoryVisibilityEventContent
fn from_raw(raw: HistoryVisibilityEventContent) -> Self
[src]
type Raw = JoinRulesEventContent
fn from_raw(raw: JoinRulesEventContent) -> Self
[src]
type Raw = FeedbackEventContent
fn from_raw(raw: FeedbackEventContent) -> Self
[src]
type Raw = PinnedEventsEventContent
fn from_raw(raw: PinnedEventsEventContent) -> Self
[src]
type Raw = PowerLevelsEventContent
fn from_raw(raw: PowerLevelsEventContent) -> Self
[src]
type Raw = RedactionEventContent
fn from_raw(raw: RedactionEventContent) -> Self
[src]
type Raw = ServerAclEventContent
fn from_raw(raw: ServerAclEventContent) -> Self
[src]
type Raw = ThirdPartyInviteEvent
fn from_raw(raw: ThirdPartyInviteEvent) -> Self
[src]
type Raw = ThirdPartyInviteEventContent
fn from_raw(raw: ThirdPartyInviteEventContent) -> Self
[src]
type Raw = TombstoneEventContent
fn from_raw(raw: TombstoneEventContent) -> Self
[src]
type Raw = RoomKeyEventContent
fn from_raw(raw: RoomKeyEventContent) -> Self
[src]
type Raw = RoomKeyRequestEvent
fn from_raw(raw: RoomKeyRequestEvent) -> Self
[src]
type Raw = RoomKeyRequestEventContent
fn from_raw(raw: RoomKeyRequestEventContent) -> Self
[src]
type Raw = StickerEventContent
fn from_raw(raw: StickerEventContent) -> Self
[src]
Loading content...