pub struct StoredSession {Show 15 fields
pub session_id: Uuid,
pub agent_id: Uuid,
pub delegation_chain_snapshot: Vec<String>,
pub declared_intent: String,
pub authorized_tools: Vec<String>,
pub time_limit_secs: i64,
pub call_budget: u64,
pub calls_made: u64,
pub rate_limit_per_minute: Option<u64>,
pub rate_window_start: DateTime<Utc>,
pub rate_window_calls: u64,
pub rate_limit_window_secs: u64,
pub data_sensitivity_ceiling: StoredDataSensitivity,
pub created_at: DateTime<Utc>,
pub status: StoredSessionStatus,
}Expand description
A stored task session record.
Fields§
§session_id: Uuid§agent_id: Uuid§delegation_chain_snapshot: Vec<String>§declared_intent: String§time_limit_secs: i64§call_budget: u64§calls_made: u64§rate_limit_per_minute: Option<u64>§rate_window_start: DateTime<Utc>§rate_window_calls: u64§rate_limit_window_secs: u64§data_sensitivity_ceiling: StoredDataSensitivity§created_at: DateTime<Utc>§status: StoredSessionStatusTrait Implementations§
Source§impl Clone for StoredSession
impl Clone for StoredSession
Source§fn clone(&self) -> StoredSession
fn clone(&self) -> StoredSession
Returns a duplicate of the value. Read more
1.0.0 · 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 StoredSession
impl Debug for StoredSession
Source§impl<'de> Deserialize<'de> for StoredSession
impl<'de> Deserialize<'de> for StoredSession
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
Auto Trait Implementations§
impl Freeze for StoredSession
impl RefUnwindSafe for StoredSession
impl Send for StoredSession
impl Sync for StoredSession
impl Unpin for StoredSession
impl UnsafeUnpin for StoredSession
impl UnwindSafe for StoredSession
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