pub struct ExecutionEnvelope<'a> {
pub schema_version: u32,
pub provider: &'a str,
pub action: &'a str,
pub params: &'a Value,
pub surface: ProviderSurface,
pub snapshot_id: &'a str,
}Expand description
The stdin wire envelope sent to every sidecar-executing adapter (ai-sdk,
python). Field names and shape are load-bearing: they match the
pre-extraction ProviderExecutionEnvelope byte-for-byte so drop-in
TypeScript/Python provider handlers written against the documented input
shape keep working unchanged.
Fields§
§schema_version: u32§provider: &'a str§action: &'a str§params: &'a Value§surface: ProviderSurface§snapshot_id: &'a strImplementations§
Source§impl<'a> ExecutionEnvelope<'a>
impl<'a> ExecutionEnvelope<'a>
Trait Implementations§
Source§impl<'a> Debug for ExecutionEnvelope<'a>
impl<'a> Debug for ExecutionEnvelope<'a>
Auto Trait Implementations§
impl<'a> Freeze for ExecutionEnvelope<'a>
impl<'a> RefUnwindSafe for ExecutionEnvelope<'a>
impl<'a> Send for ExecutionEnvelope<'a>
impl<'a> Sync for ExecutionEnvelope<'a>
impl<'a> Unpin for ExecutionEnvelope<'a>
impl<'a> UnsafeUnpin for ExecutionEnvelope<'a>
impl<'a> UnwindSafe for ExecutionEnvelope<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more