pub struct RequestStructure {
pub anatomy: RequestAnatomy,
pub wire: Option<WireMeta>,
pub system_segments: Vec<SystemSegmentMeta>,
pub messages: Vec<MessageMeta>,
pub tools: Vec<ToolMeta>,
pub cache: CacheMeta,
pub translation: Vec<TranslationLoss>,
}Expand description
Structural, metadata-only description of one outgoing request, built by a
transport-specific helper (see trace::anthropic) from trusted inputs —
including WireMeta computed from the exact bytes handed to reqwest.
Fields§
§anatomy: RequestAnatomy§wire: Option<WireMeta>None when the digest key is unavailable — never re-serialized.
system_segments: Vec<SystemSegmentMeta>§messages: Vec<MessageMeta>§tools: Vec<ToolMeta>§cache: CacheMeta§translation: Vec<TranslationLoss>Provider-adapter translation report entries (Task 9): every semantic
loss/rewrite, positional IDs only. Populates translation_losses.
Trait Implementations§
Source§impl Clone for RequestStructure
impl Clone for RequestStructure
Source§impl Debug for RequestStructure
impl Debug for RequestStructure
Auto Trait Implementations§
impl Freeze for RequestStructure
impl RefUnwindSafe for RequestStructure
impl Send for RequestStructure
impl Sync for RequestStructure
impl Unpin for RequestStructure
impl UnsafeUnpin for RequestStructure
impl UnwindSafe for RequestStructure
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.