pub struct InvokeResponse {
pub status: u16,
pub body: ByteStream,
}Expand description
The agent’s answer.
Fields§
§status: u16HTTP status the agent answered with.
body: ByteStreamBody bytes.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for InvokeResponse
impl !Sync for InvokeResponse
impl !UnwindSafe for InvokeResponse
impl Forget for InvokeResponse
impl Freeze for InvokeResponse
impl Move for InvokeResponse
impl Send for InvokeResponse
impl Unpin for InvokeResponse
impl UnsafeUnpin for InvokeResponse
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