pub enum McpOauthCompletionOutcome {
Token,
Cancelled,
Unknown,
}Expand description
How the pending MCP OAuth request was completed
Variants§
Token
The request completed with a token-backed OAuth provider.
Cancelled
The request completed without an OAuth provider.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for McpOauthCompletionOutcome
impl Clone for McpOauthCompletionOutcome
Source§fn clone(&self) -> McpOauthCompletionOutcome
fn clone(&self) -> McpOauthCompletionOutcome
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 McpOauthCompletionOutcome
impl Debug for McpOauthCompletionOutcome
Source§impl Default for McpOauthCompletionOutcome
impl Default for McpOauthCompletionOutcome
Source§fn default() -> McpOauthCompletionOutcome
fn default() -> McpOauthCompletionOutcome
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpOauthCompletionOutcome
impl<'de> Deserialize<'de> for McpOauthCompletionOutcome
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
impl Eq for McpOauthCompletionOutcome
Source§impl PartialEq for McpOauthCompletionOutcome
impl PartialEq for McpOauthCompletionOutcome
Source§fn eq(&self, other: &McpOauthCompletionOutcome) -> bool
fn eq(&self, other: &McpOauthCompletionOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for McpOauthCompletionOutcome
Auto Trait Implementations§
impl Freeze for McpOauthCompletionOutcome
impl RefUnwindSafe for McpOauthCompletionOutcome
impl Send for McpOauthCompletionOutcome
impl Sync for McpOauthCompletionOutcome
impl Unpin for McpOauthCompletionOutcome
impl UnsafeUnpin for McpOauthCompletionOutcome
impl UnwindSafe for McpOauthCompletionOutcome
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