Struct ruma_common::events::policy::rule::server::RedactedPolicyRuleServerEventContent
source · [−]pub struct RedactedPolicyRuleServerEventContent;
Available on crate feature
events
only.Expand description
Redacted form of PolicyRuleServerEventContent
Implementations
Trait Implementations
sourceimpl Clone for RedactedPolicyRuleServerEventContent
impl Clone for RedactedPolicyRuleServerEventContent
sourcefn clone(&self) -> RedactedPolicyRuleServerEventContent
fn clone(&self) -> RedactedPolicyRuleServerEventContent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'de> Deserialize<'de> for RedactedPolicyRuleServerEventContent
impl<'de> Deserialize<'de> for RedactedPolicyRuleServerEventContent
sourcefn 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
sourceimpl EventContent for RedactedPolicyRuleServerEventContent
impl EventContent for RedactedPolicyRuleServerEventContent
type EventType = StateEventType
type EventType = StateEventType
The Rust enum for the event kind’s known types.
sourcefn event_type(&self) -> Self::EventType
fn event_type(&self) -> Self::EventType
Get the event’s type, like
m.room.message
.sourceimpl StateEventContent for RedactedPolicyRuleServerEventContent
impl StateEventContent for RedactedPolicyRuleServerEventContent
type Unsigned = StateUnsigned<RedactedPolicyRuleServerEventContent>
type Unsigned = StateUnsigned<RedactedPolicyRuleServerEventContent>
The type of the event’s
unsigned
field.impl RedactedEventContent for RedactedPolicyRuleServerEventContent
impl RedactedStateEventContent for RedactedPolicyRuleServerEventContent
Auto Trait Implementations
impl RefUnwindSafe for RedactedPolicyRuleServerEventContent
impl Send for RedactedPolicyRuleServerEventContent
impl Sync for RedactedPolicyRuleServerEventContent
impl Unpin for RedactedPolicyRuleServerEventContent
impl UnwindSafe for RedactedPolicyRuleServerEventContent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more