pub struct SessionProjection {
pub meta: SessionMeta,
pub creation_agent: AgentSnapshot,
pub status: SessionStatus,
pub usage: Option<Usage>,
pub usage_rollup: UsageRollup,
pub agent_usage: BTreeMap<AgentId, UsageRollup>,
pub runs: HashMap<RunId, RunProjection>,
pub rename_records: HashMap<ClientRenameId, SessionRenameRecord>,
pub permission_overlay: SessionPermissionOverlay,
pub log: Arc<EventLog>,
}Fields§
§meta: SessionMeta§creation_agent: AgentSnapshot§status: SessionStatus§usage: Option<Usage>§usage_rollup: UsageRollup§agent_usage: BTreeMap<AgentId, UsageRollup>§runs: HashMap<RunId, RunProjection>§rename_records: HashMap<ClientRenameId, SessionRenameRecord>§permission_overlay: SessionPermissionOverlay§log: Arc<EventLog>Implementations§
Source§impl SessionProjection
impl SessionProjection
pub fn metadata(&self) -> SessionMeta
Trait Implementations§
Source§impl Clone for SessionProjection
impl Clone for SessionProjection
Source§fn clone(&self) -> SessionProjection
fn clone(&self) -> SessionProjection
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 moreAuto Trait Implementations§
impl Freeze for SessionProjection
impl RefUnwindSafe for SessionProjection
impl Send for SessionProjection
impl Sync for SessionProjection
impl Unpin for SessionProjection
impl UnsafeUnpin for SessionProjection
impl UnwindSafe for SessionProjection
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