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>,
}Available on crate feature
server only.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<RunSseRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RunSseRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for RunSseRequest
impl Serialize for RunSseRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for RunSseRequest
impl RefUnwindSafe for RunSseRequest
impl Send for RunSseRequest
impl Sync for RunSseRequest
impl Unpin for RunSseRequest
impl UnsafeUnpin for RunSseRequest
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
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::RequestCreates a shared type from an unshared type.