#[non_exhaustive]pub struct SessionResumeResult {
pub session: Session,
pub view_cursor: String,
pub history: SessionHistory,
pub pending_requests: Vec<PendingRequestPointer>,
pub last_turn: Option<LastTurn>,
}Expand description
session/resume result.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.session: SessionThe loaded session.
view_cursor: StringThe session view head; the connection is subscribed after it. A
still-loaded session a prior view/unsubscribe detached is RE-ATTACHED
by this resume: live delivery resumes from this head. Explicit-cursor
re-attach with (after, head] engine replay stays view/subscribe.
history: SessionHistoryThe served history.
pending_requests: Vec<PendingRequestPointer>The late-joiner pointer set; empty when nothing is pending.
last_turn: Option<LastTurn>How the last folded turn ended. Additive-optional; absence is a non-assertion.
Trait Implementations§
Source§impl Clone for SessionResumeResult
impl Clone for SessionResumeResult
Source§impl Debug for SessionResumeResult
impl Debug for SessionResumeResult
Source§impl<'de> Deserialize<'de> for SessionResumeResult
impl<'de> Deserialize<'de> for SessionResumeResult
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 SessionResumeResult
impl PartialEq for SessionResumeResult
Source§impl Serialize for SessionResumeResult
impl Serialize for SessionResumeResult
impl StructuralPartialEq for SessionResumeResult
Auto Trait Implementations§
impl Freeze for SessionResumeResult
impl RefUnwindSafe for SessionResumeResult
impl Send for SessionResumeResult
impl Sync for SessionResumeResult
impl Unpin for SessionResumeResult
impl UnsafeUnpin for SessionResumeResult
impl UnwindSafe for SessionResumeResult
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