pub struct AgentFrameRecord {
pub frame_id: AgentFrameId,
pub session_id: String,
pub previous_frame_id: Option<AgentFrameId>,
pub status: AgentFrameStatus,
pub reason: AgentFrameReason,
pub caused_by: Option<CausalRef>,
pub created_at: String,
pub assignment: AgentFrameAssignment,
pub protocol_turn_options: ProtocolTurnOptions,
pub execution_state_ref: Option<BlobRef>,
pub execution_state_snapshot: Option<Vec<u8>>,
}Fields§
§frame_id: AgentFrameId§session_id: String§previous_frame_id: Option<AgentFrameId>§status: AgentFrameStatus§reason: AgentFrameReason§caused_by: Option<CausalRef>§created_at: String§assignment: AgentFrameAssignment§protocol_turn_options: ProtocolTurnOptions§execution_state_ref: Option<BlobRef>§execution_state_snapshot: Option<Vec<u8>>Implementations§
Source§impl AgentFrameRecord
impl AgentFrameRecord
pub fn new( frame_id: impl Into<AgentFrameId>, session_id: impl Into<String>, previous_frame_id: Option<AgentFrameId>, reason: AgentFrameReason, caused_by: Option<CausalRef>, assignment: AgentFrameAssignment, protocol_turn_options: ProtocolTurnOptions, ) -> Self
Trait Implementations§
Source§impl Clone for AgentFrameRecord
impl Clone for AgentFrameRecord
Source§fn clone(&self) -> AgentFrameRecord
fn clone(&self) -> AgentFrameRecord
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 AgentFrameRecord
impl Debug for AgentFrameRecord
Source§impl<'de> Deserialize<'de> for AgentFrameRecord
impl<'de> Deserialize<'de> for AgentFrameRecord
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 AgentFrameRecord
impl RefUnwindSafe for AgentFrameRecord
impl Send for AgentFrameRecord
impl Sync for AgentFrameRecord
impl Unpin for AgentFrameRecord
impl UnsafeUnpin for AgentFrameRecord
impl UnwindSafe for AgentFrameRecord
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