pub struct StateSection {
pub events: Vec<RawEvent>,
}Expand description
A room’s state.events block: full current state on an initial or
limited sync, or the delta since since on a non-limited incremental
sync (research doc §1.4, server plan §3.3’s lazy-loading + gap rule).
Fields§
§events: Vec<RawEvent>The state events themselves.
Trait Implementations§
Source§impl Clone for StateSection
impl Clone for StateSection
Source§impl Debug for StateSection
impl Debug for StateSection
Source§impl Default for StateSection
impl Default for StateSection
Source§impl<'de> Deserialize<'de> for StateSection
impl<'de> Deserialize<'de> for StateSection
Source§fn 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
Source§impl PartialEq for StateSection
impl PartialEq for StateSection
Source§impl Serialize for StateSection
impl Serialize for StateSection
impl StructuralPartialEq for StateSection
Auto Trait Implementations§
impl Freeze for StateSection
impl RefUnwindSafe for StateSection
impl Send for StateSection
impl Sync for StateSection
impl Unpin for StateSection
impl UnsafeUnpin for StateSection
impl UnwindSafe for StateSection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more