pub struct DiscoverParams {}Expand description
Parameters for the server/discover RPC (SEP-2575).
server/discover lets clients fetch server capabilities, supported
protocol versions, and implementation info without establishing a
session or going through the initialize handshake. It is the stateless
replacement for initialize in the 2026-07-28 protocol.
The request takes no parameters today; the empty struct is reserved so future SEPs can add optional fields without breaking callers.
Trait Implementations§
Source§impl Clone for DiscoverParams
impl Clone for DiscoverParams
Source§fn clone(&self) -> DiscoverParams
fn clone(&self) -> DiscoverParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DiscoverParams
impl Debug for DiscoverParams
Source§impl Default for DiscoverParams
impl Default for DiscoverParams
Source§fn default() -> DiscoverParams
fn default() -> DiscoverParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DiscoverParams
impl<'de> Deserialize<'de> for DiscoverParams
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 DiscoverParams
impl RefUnwindSafe for DiscoverParams
impl Send for DiscoverParams
impl Sync for DiscoverParams
impl Unpin for DiscoverParams
impl UnsafeUnpin for DiscoverParams
impl UnwindSafe for DiscoverParams
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