Struct ruma_events::push_rules::PushRulesEventContent [−][src]
pub struct PushRulesEventContent {
pub global: Ruleset,
}Expand description
The payload for PushRulesEvent.
Fields
global: RulesetThe global ruleset.
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
A matrix event identifier, like m.room.message.
Constructs the given event content.
Auto Trait Implementations
impl RefUnwindSafe for PushRulesEventContentimpl Send for PushRulesEventContentimpl Sync for PushRulesEventContentimpl Unpin for PushRulesEventContentimpl UnwindSafe for PushRulesEventContentBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V