pub struct SessionCloseResponse {
pub session_id: Uuid,
pub status: String,
pub declared_intent: String,
pub total_calls: u64,
pub call_budget: u64,
pub budget_utilization_pct: f64,
pub time_used_secs: i64,
pub time_limit_secs: i64,
pub denied_attempts: u64,
pub anomalies_detected: u64,
}Expand description
Response body for POST /sessions/:id/close.
Fields§
§session_id: Uuid§status: String§declared_intent: String§total_calls: u64§call_budget: u64§budget_utilization_pct: f64§time_used_secs: i64§time_limit_secs: i64§denied_attempts: u64Number of denied requests during this session (from audit log).
anomalies_detected: u64Number of requests that triggered anomaly flags (from audit log).
Trait Implementations§
Source§impl Debug for SessionCloseResponse
impl Debug for SessionCloseResponse
Auto Trait Implementations§
impl Freeze for SessionCloseResponse
impl RefUnwindSafe for SessionCloseResponse
impl Send for SessionCloseResponse
impl Sync for SessionCloseResponse
impl Unpin for SessionCloseResponse
impl UnsafeUnpin for SessionCloseResponse
impl UnwindSafe for SessionCloseResponse
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