pub enum ReplyInThread {
Yes,
No,
}
Available on crate features
events
and unstable-msc3440
only.Expand description
Whether or not the message is a reply inside a thread.
Variants
Yes
This is a reply.
Create a proper reply in the thread.
No
This is not a reply.
Create a regular message in the thread, with a reply fallback, according to MSC3440.
Trait Implementations
sourceimpl Clone for ReplyInThread
impl Clone for ReplyInThread
sourcefn clone(&self) -> ReplyInThread
fn clone(&self) -> ReplyInThread
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 ReplyInThread
impl Debug for ReplyInThread
sourceimpl PartialEq<ReplyInThread> for ReplyInThread
impl PartialEq<ReplyInThread> for ReplyInThread
sourcefn eq(&self, other: &ReplyInThread) -> bool
fn eq(&self, other: &ReplyInThread) -> bool
impl Copy for ReplyInThread
impl Eq for ReplyInThread
impl StructuralEq for ReplyInThread
impl StructuralPartialEq for ReplyInThread
Auto Trait Implementations
impl RefUnwindSafe for ReplyInThread
impl Send for ReplyInThread
impl Sync for ReplyInThread
impl Unpin for ReplyInThread
impl UnwindSafe for ReplyInThread
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.