pub struct SessionHead {
pub session_id: String,
pub head_revision: u64,
pub agent_frames: Vec<AgentFrameRecord>,
pub current_agent_frame_id: AgentFrameId,
pub graph: SessionGraph,
pub config: PersistedSessionConfig,
pub checkpoint_ref: Option<BlobRef>,
pub token_ledger: Vec<TokenLedgerEntry>,
}Fields§
§session_id: String§head_revision: u64§agent_frames: Vec<AgentFrameRecord>§current_agent_frame_id: AgentFrameId§graph: SessionGraph§config: PersistedSessionConfig§checkpoint_ref: Option<BlobRef>§token_ledger: Vec<TokenLedgerEntry>Trait Implementations§
Source§impl Clone for SessionHead
impl Clone for SessionHead
Source§fn clone(&self) -> SessionHead
fn clone(&self) -> SessionHead
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 SessionHead
impl Debug for SessionHead
Source§impl Default for SessionHead
impl Default for SessionHead
Source§impl<'de> Deserialize<'de> for SessionHead
impl<'de> Deserialize<'de> for SessionHead
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 SessionHead
impl RefUnwindSafe for SessionHead
impl Send for SessionHead
impl Sync for SessionHead
impl Unpin for SessionHead
impl UnsafeUnpin for SessionHead
impl UnwindSafe for SessionHead
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