pub struct SessionReadyPayload {
pub latest_sequence: u64,
pub next_before_sequence: Option<u64>,
pub workspace: WorkspaceInfo,
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 run_stats: RunStats,
pub config: VersionedAgentConfig,
}Expand description
Frontend-safe state for one opened session.
Fields§
§latest_sequence: u64§next_before_sequence: Option<u64>§workspace: WorkspaceInfo§git: Option<GitStatus>§session: SessionConfiguredEvent§contributions: Vec<FrontendContribution>§widgets: Vec<SessionWidget>§tool_count: usize§compaction_count: u64§context_limit_tokens: Option<i64>§run_stats: RunStats§config: VersionedAgentConfigTrait Implementations§
Source§impl Clone for SessionReadyPayload
impl Clone for SessionReadyPayload
Source§fn clone(&self) -> SessionReadyPayload
fn clone(&self) -> SessionReadyPayload
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 moreSource§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