Type Alias PushRulesEvent

Source
pub type PushRulesEvent = GlobalAccountDataEvent<PushRulesEventContent>;
Expand description

An m.push_rules event.

Aliased Type§

struct PushRulesEvent {
    pub content: PushRulesEventContent,
}

Fields§

§content: PushRulesEventContent

Data specific to the event type.

Trait Implementations

Source§

impl<C: Clone + GlobalAccountDataEventContent> Clone for GlobalAccountDataEvent<C>

Source§

fn clone(&self) -> GlobalAccountDataEvent<C>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<C: Debug + GlobalAccountDataEventContent> Debug for GlobalAccountDataEvent<C>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de, C> Deserialize<'de> for GlobalAccountDataEvent<C>

Source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<C: GlobalAccountDataEventContent> Serialize for GlobalAccountDataEvent<C>

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more