pub struct CursorStopEvent {
pub session_id: String,
pub workspace_root: String,
pub status: CursorStopStatus,
pub generation_id: String,
pub loop_count: u64,
pub transcript_path: Option<String>,
}Expand description
Sanitized, fully validated Cursor stop event.
Fields§
§session_id: String§workspace_root: StringNormalized sole workspace root; becomes the invocation cwd/project.
status: CursorStopStatus§generation_id: String§loop_count: u64Normalized non-negative integer loop count.
transcript_path: Option<String>Null-tolerant base field. None for missing/null; a string is kept
verbatim (including whitespace-only strings, which downstream maps to
an explicit path_blank degradation instead of dropping the Stop).
Implementations§
Source§impl CursorStopEvent
impl CursorStopEvent
Sourcepub fn canonical_stop_key(&self) -> String
pub fn canonical_stop_key(&self) -> String
Canonical idempotency key (session_id, generation_id, loop_count).
Trait Implementations§
Source§impl Clone for CursorStopEvent
impl Clone for CursorStopEvent
Source§fn clone(&self) -> CursorStopEvent
fn clone(&self) -> CursorStopEvent
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 moreAuto Trait Implementations§
impl Freeze for CursorStopEvent
impl RefUnwindSafe for CursorStopEvent
impl Send for CursorStopEvent
impl Sync for CursorStopEvent
impl Unpin for CursorStopEvent
impl UnsafeUnpin for CursorStopEvent
impl UnwindSafe for CursorStopEvent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more