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