pub struct ResumeRequest {
pub from_session: String,
pub mode: ResumeMode,
}Expand description
One operator act: continue this conversation, whatever the capsule’s own
lifecycle.conversation policy says about carrying one between tasks.
Sugar over StageRequest::context_id, never a second load path: the CLI resolves a session
address to the context id that session ran under and fills both this and context_id. What
this adds is the override — the record is loaded even under lifecycle.conversation: stateless — and the provenance the trace records.
Fields§
§from_session: StringThe prior session’s id, recorded verbatim as session_start.resumed_from.
mode: ResumeModeTrait Implementations§
Source§impl Clone for ResumeRequest
impl Clone for ResumeRequest
Source§fn clone(&self) -> ResumeRequest
fn clone(&self) -> ResumeRequest
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 ResumeRequest
impl RefUnwindSafe for ResumeRequest
impl Send for ResumeRequest
impl Sync for ResumeRequest
impl Unpin for ResumeRequest
impl UnsafeUnpin for ResumeRequest
impl UnwindSafe for ResumeRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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