pub struct McpServerOauthLoginCompletedNotification {
pub name: String,
pub success: bool,
pub error: Option<String>,
}Expand description
mcpServer/oauthLogin/completed notification.
Emitted when an MCP server’s OAuth login flow completes (or fails).
Fields§
§name: String§success: bool§error: Option<String>Trait Implementations§
Source§impl Clone for McpServerOauthLoginCompletedNotification
impl Clone for McpServerOauthLoginCompletedNotification
Source§fn clone(&self) -> McpServerOauthLoginCompletedNotification
fn clone(&self) -> McpServerOauthLoginCompletedNotification
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<'de> Deserialize<'de> for McpServerOauthLoginCompletedNotification
impl<'de> Deserialize<'de> for McpServerOauthLoginCompletedNotification
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 McpServerOauthLoginCompletedNotification
impl RefUnwindSafe for McpServerOauthLoginCompletedNotification
impl Send for McpServerOauthLoginCompletedNotification
impl Sync for McpServerOauthLoginCompletedNotification
impl Unpin for McpServerOauthLoginCompletedNotification
impl UnsafeUnpin for McpServerOauthLoginCompletedNotification
impl UnwindSafe for McpServerOauthLoginCompletedNotification
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