Struct ruma_common::events::message::RedactedMessageEventContent
source · [−]pub struct RedactedMessageEventContent;
Available on crate features
events
and unstable-msc1767
only.Expand description
Redacted form of MessageEventContent
Implementations
Trait Implementations
sourceimpl Clone for RedactedMessageEventContent
impl Clone for RedactedMessageEventContent
sourcefn clone(&self) -> RedactedMessageEventContent
fn clone(&self) -> RedactedMessageEventContent
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 Debug for RedactedMessageEventContent
impl Debug for RedactedMessageEventContent
sourceimpl<'de> Deserialize<'de> for RedactedMessageEventContent
impl<'de> Deserialize<'de> for RedactedMessageEventContent
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 RedactedMessageEventContent
impl EventContent for RedactedMessageEventContent
type EventType = MessageLikeEventType
type EventType = MessageLikeEventType
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
.impl MessageLikeEventContent for RedactedMessageEventContent
impl RedactedEventContent for RedactedMessageEventContent
impl RedactedMessageLikeEventContent for RedactedMessageEventContent
Auto Trait Implementations
impl RefUnwindSafe for RedactedMessageEventContent
impl Send for RedactedMessageEventContent
impl Sync for RedactedMessageEventContent
impl Unpin for RedactedMessageEventContent
impl UnwindSafe for RedactedMessageEventContent
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