Struct ruma_common::events::relation::BundledThread
source · [−]pub struct BundledThread {
pub latest_event: Box<Raw<AnySyncMessageLikeEvent>>,
pub count: UInt,
pub current_user_participated: bool,
}Available on crate features
events and unstable-msc3440 only.Expand description
A bundled thread.
Fields
latest_event: Box<Raw<AnySyncMessageLikeEvent>>The latest event in the thread.
count: UIntThe number of events in the thread.
current_user_participated: boolWhether the current logged in user has participated in the thread.
Implementations
sourceimpl BundledThread
impl BundledThread
Trait Implementations
sourceimpl Clone for BundledThread
impl Clone for BundledThread
sourcefn clone(&self) -> BundledThread
fn clone(&self) -> BundledThread
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 BundledThread
impl Debug for BundledThread
sourceimpl<'de> Deserialize<'de> for BundledThread
impl<'de> Deserialize<'de> for BundledThread
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for BundledThread
impl Serialize for BundledThread
Auto Trait Implementations
impl RefUnwindSafe for BundledThread
impl Send for BundledThread
impl Sync for BundledThread
impl Unpin for BundledThread
impl UnwindSafe for BundledThread
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
