#[non_exhaustive]pub struct SessionForkResult {
pub session: Session,
pub view_cursor: String,
pub history: SessionHistory,
pub pending_requests: Vec<PendingRequestPointer>,
}Expand description
session/fork result: the session/resume envelope for the new
session, whose session.forkedFrom carries the provenance.
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 new fork session, carrying forkedFrom provenance.
view_cursor: StringThe new session’s view head.
history: SessionHistoryThe served history.
pending_requests: Vec<PendingRequestPointer>The late-joiner pointer set.
Trait Implementations§
Source§impl Clone for SessionForkResult
impl Clone for SessionForkResult
Source§impl Debug for SessionForkResult
impl Debug for SessionForkResult
Source§impl<'de> Deserialize<'de> for SessionForkResult
impl<'de> Deserialize<'de> for SessionForkResult
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 SessionForkResult
impl PartialEq for SessionForkResult
Source§impl Serialize for SessionForkResult
impl Serialize for SessionForkResult
impl StructuralPartialEq for SessionForkResult
Auto Trait Implementations§
impl Freeze for SessionForkResult
impl RefUnwindSafe for SessionForkResult
impl Send for SessionForkResult
impl Sync for SessionForkResult
impl Unpin for SessionForkResult
impl UnsafeUnpin for SessionForkResult
impl UnwindSafe for SessionForkResult
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