pub trait StaticStateEventContent: StateEventContent {
type PossiblyRedacted: PossiblyRedactedStateEventContent;
type Unsigned: Clone + Debug + Default + CanBeEmpty + DeserializeOwned;
}
Available on crate feature
events
only.Expand description
Content of a non-redacted state event with a corresponding possibly-redacted type.
Required Associated Types§
Sourcetype PossiblyRedacted: PossiblyRedactedStateEventContent
type PossiblyRedacted: PossiblyRedactedStateEventContent
The possibly redacted form of the event’s content.
Sourcetype Unsigned: Clone + Debug + Default + CanBeEmpty + DeserializeOwned
type Unsigned: Clone + Debug + Default + CanBeEmpty + DeserializeOwned
The type of the event’s unsigned
field.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.