pub struct RedactedImageEventContent;
Available on crate features
events
and unstable-msc3552
only.Expand description
Redacted form of ImageEventContent
Implementations
sourceimpl RedactedImageEventContent
impl RedactedImageEventContent
sourcepub fn new() -> RedactedImageEventContent
pub fn new() -> RedactedImageEventContent
Creates an empty RedactedImageEventContent.
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<RedactedImageEventContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<RedactedImageEventContent, <__D as Deserializer<'de>>::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) -> <RedactedImageEventContent as EventContent>::EventType
fn event_type(&self) -> <RedactedImageEventContent as EventContent>::EventType
Get the event’s type, like
m.room.message
.sourceimpl Serialize for RedactedImageEventContent
impl Serialize for RedactedImageEventContent
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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