pub struct SessionsForkRequest {
pub name: Option<String>,
pub session_id: SessionId,
pub to_event_id: Option<String>,
}Expand description
Source session identifier to fork from, optional event-ID boundary, and optional friendly name for the new session.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§name: Option<String>Optional friendly name to assign to the forked session.
session_id: SessionIdSource session ID to fork from
to_event_id: Option<String>Optional event ID boundary. When provided, the fork includes only events before this ID (exclusive). When omitted, all events are included.
Trait Implementations§
Source§impl Clone for SessionsForkRequest
impl Clone for SessionsForkRequest
Source§fn clone(&self) -> SessionsForkRequest
fn clone(&self) -> SessionsForkRequest
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 SessionsForkRequest
impl Debug for SessionsForkRequest
Source§impl Default for SessionsForkRequest
impl Default for SessionsForkRequest
Source§fn default() -> SessionsForkRequest
fn default() -> SessionsForkRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionsForkRequest
impl<'de> Deserialize<'de> for SessionsForkRequest
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 SessionsForkRequest
impl RefUnwindSafe for SessionsForkRequest
impl Send for SessionsForkRequest
impl Sync for SessionsForkRequest
impl Unpin for SessionsForkRequest
impl UnsafeUnpin for SessionsForkRequest
impl UnwindSafe for SessionsForkRequest
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