pub struct ServerRequestNotification {
pub session_id: String,
pub request: ToolExecutionRequest,
}Expand description
Wrapper for a server/request SSE event notification.
Fields§
§session_id: StringSession this request belongs to.
request: ToolExecutionRequestThe tool execution request.
Trait Implementations§
Source§impl Clone for ServerRequestNotification
impl Clone for ServerRequestNotification
Source§fn clone(&self) -> ServerRequestNotification
fn clone(&self) -> ServerRequestNotification
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ServerRequestNotification
impl Debug for ServerRequestNotification
Source§impl<'de> Deserialize<'de> for ServerRequestNotification
impl<'de> Deserialize<'de> for ServerRequestNotification
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 Freeze for ServerRequestNotification
impl RefUnwindSafe for ServerRequestNotification
impl Send for ServerRequestNotification
impl Sync for ServerRequestNotification
impl Unpin for ServerRequestNotification
impl UnsafeUnpin for ServerRequestNotification
impl UnwindSafe for ServerRequestNotification
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