pub struct HistoryRewindRequest {
pub event_id: String,
pub mode: HistoryRewindMode,
}Expand description
Boundary and mode for rewinding session history.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§event_id: StringID of the user.message event that begins the discarded suffix.
mode: HistoryRewindModeWhether to rewind only conversation history or also restore captured files.
Trait Implementations§
Source§impl Clone for HistoryRewindRequest
impl Clone for HistoryRewindRequest
Source§fn clone(&self) -> HistoryRewindRequest
fn clone(&self) -> HistoryRewindRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HistoryRewindRequest
impl Debug for HistoryRewindRequest
Source§impl Default for HistoryRewindRequest
impl Default for HistoryRewindRequest
Source§fn default() -> HistoryRewindRequest
fn default() -> HistoryRewindRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HistoryRewindRequest
impl<'de> Deserialize<'de> for HistoryRewindRequest
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 HistoryRewindRequest
impl RefUnwindSafe for HistoryRewindRequest
impl Send for HistoryRewindRequest
impl Sync for HistoryRewindRequest
impl Unpin for HistoryRewindRequest
impl UnsafeUnpin for HistoryRewindRequest
impl UnwindSafe for HistoryRewindRequest
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