pub struct SessionSyncPayload {
pub session_id: Option<String>,
pub messages: Vec<Message>,
pub system_prompt: Option<SystemPrompt>,
pub model: String,
pub workspace: PathBuf,
pub mode: CommandMode,
}Expand description
Portable synchronization fields a lifecycle handler maps into the
temporary SyncSession action payload. The conversation and prompt types
are codewhale-core request types shared by the contract and the TUI
(FEAT-037 will move shared outcome ownership; FEAT-023 keeps the bounded
reference only for /fork and /new transitions, D6).
Fields§
§session_id: Option<String>§messages: Vec<Message>§system_prompt: Option<SystemPrompt>§model: String§workspace: PathBuf§mode: CommandModeTrait Implementations§
Source§impl Clone for SessionSyncPayload
impl Clone for SessionSyncPayload
Source§impl Debug for SessionSyncPayload
impl Debug for SessionSyncPayload
Source§impl PartialEq for SessionSyncPayload
impl PartialEq for SessionSyncPayload
impl StructuralPartialEq for SessionSyncPayload
Auto Trait Implementations§
impl Freeze for SessionSyncPayload
impl RefUnwindSafe for SessionSyncPayload
impl Send for SessionSyncPayload
impl Sync for SessionSyncPayload
impl Unpin for SessionSyncPayload
impl UnsafeUnpin for SessionSyncPayload
impl UnwindSafe for SessionSyncPayload
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