Enum ruma_common::events::room::message::sanitize::RemoveReplyFallback
source · pub enum RemoveReplyFallback {
Yes,
No,
}Available on crate features
events and unstable-sanitize only.Expand description
Whether to remove the rich reply fallback while sanitizing.
Variants§
Trait Implementations§
source§impl Clone for RemoveReplyFallback
impl Clone for RemoveReplyFallback
source§fn clone(&self) -> RemoveReplyFallback
fn clone(&self) -> RemoveReplyFallback
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RemoveReplyFallback
impl Debug for RemoveReplyFallback
source§impl PartialEq<RemoveReplyFallback> for RemoveReplyFallback
impl PartialEq<RemoveReplyFallback> for RemoveReplyFallback
source§fn eq(&self, other: &RemoveReplyFallback) -> bool
fn eq(&self, other: &RemoveReplyFallback) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for RemoveReplyFallback
impl Eq for RemoveReplyFallback
impl StructuralEq for RemoveReplyFallback
impl StructuralPartialEq for RemoveReplyFallback
Auto Trait Implementations§
impl RefUnwindSafe for RemoveReplyFallback
impl Send for RemoveReplyFallback
impl Sync for RemoveReplyFallback
impl Unpin for RemoveReplyFallback
impl UnwindSafe for RemoveReplyFallback
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.