pub struct RedactedVoiceEventContent;
Available on crate features
events
and unstable-msc3245
only.Expand description
Redacted form of VoiceEventContent
Implementations
sourceimpl RedactedVoiceEventContent
impl RedactedVoiceEventContent
sourcepub fn new() -> RedactedVoiceEventContent
pub fn new() -> RedactedVoiceEventContent
Creates an empty RedactedVoiceEventContent.
Trait Implementations
sourceimpl Clone for RedactedVoiceEventContent
impl Clone for RedactedVoiceEventContent
sourcefn clone(&self) -> RedactedVoiceEventContent
fn clone(&self) -> RedactedVoiceEventContent
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 RedactedVoiceEventContent
impl Debug for RedactedVoiceEventContent
sourceimpl<'de> Deserialize<'de> for RedactedVoiceEventContent
impl<'de> Deserialize<'de> for RedactedVoiceEventContent
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<RedactedVoiceEventContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<RedactedVoiceEventContent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl EventContent for RedactedVoiceEventContent
impl EventContent for RedactedVoiceEventContent
type EventType = MessageLikeEventType
type EventType = MessageLikeEventType
The Rust enum for the event kind’s known types.
sourcefn event_type(&self) -> <RedactedVoiceEventContent as EventContent>::EventType
fn event_type(&self) -> <RedactedVoiceEventContent as EventContent>::EventType
Get the event’s type, like
m.room.message
.sourceimpl Serialize for RedactedVoiceEventContent
impl Serialize for RedactedVoiceEventContent
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 RedactedVoiceEventContent
impl RedactedEventContent for RedactedVoiceEventContent
impl RedactedMessageLikeEventContent for RedactedVoiceEventContent
Auto Trait Implementations
impl RefUnwindSafe for RedactedVoiceEventContent
impl Send for RedactedVoiceEventContent
impl Sync for RedactedVoiceEventContent
impl Unpin for RedactedVoiceEventContent
impl UnwindSafe for RedactedVoiceEventContent
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