Re-exportsΒ§
use std::borrow::Cow;πuse std::collections::BTreeMap;πuse std::collections::btree_map::Entry;πuse std::fmt::Formatter;πuse std::fmt::Result as FmtResult;πuse std::iter::from_fn;πuse ruma::MilliSecondsSinceUnixEpoch;πuse ruma::OwnedEventId;πuse ruma::OwnedUserId;πuse ruma::UserId;πuse ruma::events::AnySyncMessageLikeEvent;πuse ruma::events::room::member::MembershipState;πuse ruma::serde::Raw;πuse serde::Deserialize;πuse serde::Deserialize;πuse serde::Deserializer;πuse serde::Serialize;πuse serde::Serialize;πuse serde::Serializer;πuse serde::de::DeserializeSeed;πuse serde::de::Error as DeError;πuse serde::de::IgnoredAny;πuse serde::de::MapAccess;πuse serde::de::Visitor;πuse serde::ser::SerializeMap;πuse serde_json::value::RawValue as RawJsonValue;πuse serde_json::value::Value as JsonValue;πuse serde_json::value::to_raw_value;πuse tuwunel_core::Result;πuse tuwunel_core::err;πuse tuwunel_core::implement;πuse tuwunel_core::result::LogErr;πuse tuwunel_core::utils::BoolExt;πuse tuwunel_core::warn;πuse super::Pdu;πuse super::Unsigned;π
StructsΒ§
- Borrowed
Field π - Identity π
- Json
String π - Json
String πVisitor - RawObject
Patch π - RawObject
Remove π - Reference
Bundle π - Reference
Chunk π - Reference
Event π - Relation
Bundle π - Thread
Bundle πFields - Unique
Object π
ConstantsΒ§
- DELAY_
ID - The unstable MSC4140 key naming the delayed event an event was sent from.
- PRIVATE
- Unsigned keys served to the eventβs own sender and to nobody else.
FunctionsΒ§
- deserialize_
raw π - raw_as π
- Serializes
valueinto raw JSON labeled asU. - raw_
field π - raw_
object π - raw_of π
- remove_
relation_ πbundle - remove_
relation_ πbundle_ canonical - Canonicalize malformed or ambiguous relation objects while removing only the requested relation. This allocation is reserved for the error path of the borrowed surgical rewrite.
- thread_
bundle π - thread_
identity π - thread_
latest π - thread_
transaction_ πsender - thread_
without_ πtransaction_ id - transaction_
sender π - without_
private π
Type AliasesΒ§
- Borrowed
Object π - Json
Entry π