pub struct SessionReadyPayload {Show 15 fields
pub active_turn_ids: Vec<String>,
pub pending_approvals: Vec<ExecApprovalRequestEvent>,
pub latest_sequence: u64,
pub next_before_sequence: Option<u64>,
pub workspace: Option<WorkspaceInfo>,
pub attached_folders: Vec<PathBuf>,
pub git: Option<GitStatus>,
pub session: SessionConfiguredEvent,
pub contributions: Vec<FrontendContribution>,
pub widgets: Vec<SessionWidget>,
pub tool_count: usize,
pub compaction_count: u64,
pub context_limit_tokens: Option<i64>,
pub active_message_delivery: ActiveMessageDelivery,
pub run_stats: RunStats,
}Expand description
Frontend-safe state for one opened session.
Fields§
§active_turn_ids: Vec<String>The active turn identifiers.
pending_approvals: Vec<ExecApprovalRequestEvent>The pending approvals.
latest_sequence: u64The latest sequence.
next_before_sequence: Option<u64>The next before sequence.
workspace: Option<WorkspaceInfo>The workspace.
attached_folders: Vec<PathBuf>The attached folders.
git: Option<GitStatus>The git.
session: SessionConfiguredEventThe session.
contributions: Vec<FrontendContribution>The contributions.
widgets: Vec<SessionWidget>The widgets.
tool_count: usizeThe tool count.
compaction_count: u64The compaction count.
context_limit_tokens: Option<i64>The context limit tokens.
active_message_delivery: ActiveMessageDeliveryThe active message delivery.
run_stats: RunStatsThe run stats.
Trait Implementations§
Source§impl Clone for SessionReadyPayload
impl Clone for SessionReadyPayload
Source§impl Debug for SessionReadyPayload
impl Debug for SessionReadyPayload
Source§impl<'de> Deserialize<'de> for SessionReadyPayload
impl<'de> Deserialize<'de> for SessionReadyPayload
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 SessionReadyPayload
impl PartialEq for SessionReadyPayload
Source§impl Serialize for SessionReadyPayload
impl Serialize for SessionReadyPayload
impl StructuralPartialEq for SessionReadyPayload
Auto Trait Implementations§
impl Freeze for SessionReadyPayload
impl RefUnwindSafe for SessionReadyPayload
impl Send for SessionReadyPayload
impl Sync for SessionReadyPayload
impl Unpin for SessionReadyPayload
impl UnsafeUnpin for SessionReadyPayload
impl UnwindSafe for SessionReadyPayload
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