pub struct RunSseRequest {Show 18 fields
pub app_name: String,
pub user_id: String,
pub session_id: String,
pub new_message: Option<NewMessage>,
pub streaming: bool,
pub state_delta: Option<Value>,
pub ui_protocol: Option<String>,
pub protocol: Option<String>,
pub ui_transport: Option<String>,
pub input: Option<AgUiRunInput>,
pub ag_ui_input: Option<AgUiRunInput>,
pub ag_ui_compatibility_event: Option<Value>,
pub protocol_envelope: Option<Value>,
pub mcp_apps_request: Option<McpAppsRuntimeEnvelope>,
pub mcp_apps_initialize: Option<McpAppsRuntimeEnvelope>,
pub mcp_apps_initialized: Option<Value>,
pub method: Option<String>,
pub params: Option<Value>,
}Expand description
Request format for /run_sse (adk-go compatible)
Fields§
§app_name: String§user_id: String§session_id: String§new_message: Option<NewMessage>§streaming: bool§state_delta: Option<Value>§ui_protocol: Option<String>§protocol: Option<String>§ui_transport: Option<String>§input: Option<AgUiRunInput>§ag_ui_input: Option<AgUiRunInput>§ag_ui_compatibility_event: Option<Value>§protocol_envelope: Option<Value>§mcp_apps_request: Option<McpAppsRuntimeEnvelope>§mcp_apps_initialize: Option<McpAppsRuntimeEnvelope>§mcp_apps_initialized: Option<Value>§method: Option<String>§params: Option<Value>Trait Implementations§
Source§impl Debug for RunSseRequest
impl Debug for RunSseRequest
Source§impl<'de> Deserialize<'de> for RunSseRequest
impl<'de> Deserialize<'de> for RunSseRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for RunSseRequest
impl Freeze for RunSseRequestwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<MessagePart>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
PhantomData<AgUiInputMessage>: Freeze,
PhantomData<AgUiResumeEntry>: Freeze,
impl Move for RunSseRequest
impl RefUnwindSafe for RunSseRequest
impl Send for RunSseRequest
impl Sync for RunSseRequest
impl Unpin for RunSseRequest
impl UnsafeUnpin for RunSseRequestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<MessagePart>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
PhantomData<AgUiInputMessage>: UnsafeUnpin,
PhantomData<AgUiResumeEntry>: UnsafeUnpin,
impl UnwindSafe for RunSseRequest
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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