Struct ruma_events::relation::AnnotationChunk [−][src]
pub struct AnnotationChunk { pub chunk: Vec<BundledAnnotation>, pub next_batch: Option<String>, }
This is supported on crate feature
unstable-pre-spec
only.Expand description
The first chunk of annotations with a token for loading more.
Fields
chunk: Vec<BundledAnnotation>
The first batch of bundled annotations.
next_batch: Option<String>
Token to receive the next annotation batch.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for AnnotationChunk
impl Send for AnnotationChunk
impl Sync for AnnotationChunk
impl Unpin for AnnotationChunk
impl UnwindSafe for AnnotationChunk
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V