pub struct RequestMeta {
pub slot: String,
pub provider: String,
pub model: String,
pub iteration: u64,
pub request_bytes: u64,
pub request_sha256: String,
pub message_count: u64,
pub tool_names: Vec<String>,
pub tool_schema_sha256: String,
pub timing: String,
pub step_request_seq: u64,
pub frame: Option<FrameInfo>,
}Expand description
turn/request payload (§3.2.3). Fires once per provider turn, on the
persisted primary body — never per fallback attempt (§4.2).
Fields§
§slot: String§provider: String§model: String§iteration: u64§request_bytes: u64§request_sha256: String§message_count: u64§tool_names: Vec<String>Sorted tool names in the body’s tools array.
tool_schema_sha256: String§timing: StringThe only value ever dispatched in v1: "pre_send" (§3.2.3).
step_request_seq: u64§frame: Option<FrameInfo>Trait Implementations§
Source§impl Clone for RequestMeta
impl Clone for RequestMeta
Source§impl Debug for RequestMeta
impl Debug for RequestMeta
Auto Trait Implementations§
impl Forget for RequestMeta
impl Freeze for RequestMeta
impl Move for RequestMeta
impl RefUnwindSafe for RequestMeta
impl Send for RequestMetawhere
RawVecInner: Send,
impl Sync for RequestMetawhere
RawVecInner: Sync,
impl Unpin for RequestMeta
impl UnsafeUnpin for RequestMetawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for RequestMetawhere
RawVecInner: UnwindSafe,
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