pub struct SessionHead {
pub session_id: String,
pub head_revision: u64,
pub agent_frames: Vec<AgentFrameRecord>,
pub current_agent_frame_id: String,
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: String§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§fn default() -> SessionHead
fn default() -> SessionHead
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionHead
impl<'de> Deserialize<'de> for SessionHead
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionHead, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionHead, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SessionHead
impl Serialize for SessionHead
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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