#[non_exhaustive]pub struct TurnStartedParams {
pub session_id: String,
pub view_cursor: String,
pub source_range: SourceRange,
pub turn_id: String,
pub command_id: String,
}Expand description
turn/started params: a foreground turn began running — fresh submits
immediately, queued submits at their launch boundary, never steered submits.
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_id: StringThe owning session.
view_cursor: StringOpaque, strictly monotonic view cursor.
source_range: SourceRangeThe durable records this event folded from.
turn_id: StringThe started turn.
command_id: StringThe submitting command; turnId == commandId for fresh turns.
Trait Implementations§
Source§impl Clone for TurnStartedParams
impl Clone for TurnStartedParams
Source§impl Debug for TurnStartedParams
impl Debug for TurnStartedParams
Source§impl<'de> Deserialize<'de> for TurnStartedParams
impl<'de> Deserialize<'de> for TurnStartedParams
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 TurnStartedParams
impl PartialEq for TurnStartedParams
Source§impl Serialize for TurnStartedParams
impl Serialize for TurnStartedParams
impl StructuralPartialEq for TurnStartedParams
Auto Trait Implementations§
impl Forget for TurnStartedParams
impl Freeze for TurnStartedParams
impl Move for TurnStartedParams
impl RefUnwindSafe for TurnStartedParams
impl Send for TurnStartedParams
impl Sync for TurnStartedParams
impl Unpin for TurnStartedParams
impl UnsafeUnpin for TurnStartedParams
impl UnwindSafe for TurnStartedParams
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