pub struct InvokeRequest {
pub method: String,
pub path: String,
pub headers: Vec<(String, String)>,
pub body: Vec<u8>,
}Expand description
A gateway → agent request, already signed (Graphrt-Sig among headers).
Fields§
§method: StringGET, POST…
path: StringPath with query, e.g. /internal/v1/runs.
headers: Vec<(String, String)>Headers (lowercase names).
body: Vec<u8>Body.
Trait Implementations§
Source§impl Clone for InvokeRequest
impl Clone for InvokeRequest
Source§impl Debug for InvokeRequest
impl Debug for InvokeRequest
impl Eq for InvokeRequest
Source§impl PartialEq for InvokeRequest
impl PartialEq for InvokeRequest
impl StructuralPartialEq for InvokeRequest
Auto Trait Implementations§
impl Forget for InvokeRequest
impl Freeze for InvokeRequest
impl Move for InvokeRequest
impl RefUnwindSafe for InvokeRequest
impl Send for InvokeRequestwhere
RawVecInner: Send,
impl Sync for InvokeRequestwhere
RawVecInner: Sync,
impl Unpin for InvokeRequest
impl UnsafeUnpin for InvokeRequestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<(String, String)>: UnsafeUnpin,
impl UnwindSafe for InvokeRequestwhere
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.