pub struct SessionSnapshotRewindData {
pub event_ids: Option<Vec<String>>,
pub events_removed: i64,
pub up_to_event_id: String,
}Expand description
Session event “session.snapshot_rewind”. Session rewind details including target event and count of removed events
Fields§
§event_ids: Option<Vec<String>>The removed events, starting with upToEventId. Later events not listed were kept, such as a background agent’s events that interleaved with a withdrawn turn
events_removed: i64Number of events that were removed by the rewind
up_to_event_id: StringFirst removed event. Without eventIds, it and every event after it were removed
Trait Implementations§
Source§impl Clone for SessionSnapshotRewindData
impl Clone for SessionSnapshotRewindData
Source§impl Debug for SessionSnapshotRewindData
impl Debug for SessionSnapshotRewindData
Source§impl Default for SessionSnapshotRewindData
impl Default for SessionSnapshotRewindData
Source§impl<'de> Deserialize<'de> for SessionSnapshotRewindData
impl<'de> Deserialize<'de> for SessionSnapshotRewindData
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
Auto Trait Implementations§
impl Freeze for SessionSnapshotRewindData
impl RefUnwindSafe for SessionSnapshotRewindData
impl Send for SessionSnapshotRewindData
impl Sync for SessionSnapshotRewindData
impl Unpin for SessionSnapshotRewindData
impl UnsafeUnpin for SessionSnapshotRewindData
impl UnwindSafe for SessionSnapshotRewindData
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