pub enum McpOauthRequiredStaticClientConfigGrantType {
ClientCredentials,
}Expand description
Optional non-default OAuth grant type. When set to ‘client_credentials’, the OAuth flow runs headlessly using the client_id + keychain-stored secret (no browser, no callback server).
Variants§
ClientCredentials
Trait Implementations§
Source§impl Clone for McpOauthRequiredStaticClientConfigGrantType
impl Clone for McpOauthRequiredStaticClientConfigGrantType
Source§fn clone(&self) -> McpOauthRequiredStaticClientConfigGrantType
fn clone(&self) -> McpOauthRequiredStaticClientConfigGrantType
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 Default for McpOauthRequiredStaticClientConfigGrantType
impl Default for McpOauthRequiredStaticClientConfigGrantType
Source§fn default() -> McpOauthRequiredStaticClientConfigGrantType
fn default() -> McpOauthRequiredStaticClientConfigGrantType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpOauthRequiredStaticClientConfigGrantType
impl<'de> Deserialize<'de> for McpOauthRequiredStaticClientConfigGrantType
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 McpOauthRequiredStaticClientConfigGrantType
Source§impl PartialEq for McpOauthRequiredStaticClientConfigGrantType
impl PartialEq for McpOauthRequiredStaticClientConfigGrantType
Source§fn eq(&self, other: &McpOauthRequiredStaticClientConfigGrantType) -> bool
fn eq(&self, other: &McpOauthRequiredStaticClientConfigGrantType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for McpOauthRequiredStaticClientConfigGrantType
Auto Trait Implementations§
impl Freeze for McpOauthRequiredStaticClientConfigGrantType
impl RefUnwindSafe for McpOauthRequiredStaticClientConfigGrantType
impl Send for McpOauthRequiredStaticClientConfigGrantType
impl Sync for McpOauthRequiredStaticClientConfigGrantType
impl Unpin for McpOauthRequiredStaticClientConfigGrantType
impl UnsafeUnpin for McpOauthRequiredStaticClientConfigGrantType
impl UnwindSafe for McpOauthRequiredStaticClientConfigGrantType
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