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
Yes
Remove the rich reply fallback.
No
Don’t remove the rich reply fallback.
Trait Implementations
sourceimpl Clone for RemoveReplyFallback
impl Clone for RemoveReplyFallback
sourcefn clone(&self) -> RemoveReplyFallback
fn clone(&self) -> RemoveReplyFallback
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 RemoveReplyFallback
impl Debug for RemoveReplyFallback
sourceimpl PartialEq<RemoveReplyFallback> for RemoveReplyFallback
impl PartialEq<RemoveReplyFallback> for RemoveReplyFallback
sourcefn eq(&self, other: &RemoveReplyFallback) -> bool
fn eq(&self, other: &RemoveReplyFallback) -> bool
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
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
sourceimpl<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,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.