pub struct McpOAuthSettings {
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub client_metadata_url: Option<String>,
pub scopes: Vec<String>,
}Fields§
§client_id: Option<String>§client_secret: Option<String>§client_metadata_url: Option<String>§scopes: Vec<String>Trait Implementations§
Source§impl Clone for McpOAuthSettings
impl Clone for McpOAuthSettings
Source§fn clone(&self) -> McpOAuthSettings
fn clone(&self) -> McpOAuthSettings
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 McpOAuthSettings
impl Debug for McpOAuthSettings
Source§impl Default for McpOAuthSettings
impl Default for McpOAuthSettings
Source§fn default() -> McpOAuthSettings
fn default() -> McpOAuthSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpOAuthSettings
impl<'de> Deserialize<'de> for McpOAuthSettings
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 McpOAuthSettings
Source§impl PartialEq for McpOAuthSettings
impl PartialEq for McpOAuthSettings
Source§fn eq(&self, other: &McpOAuthSettings) -> bool
fn eq(&self, other: &McpOAuthSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for McpOAuthSettings
impl Serialize for McpOAuthSettings
impl StructuralPartialEq for McpOAuthSettings
Auto Trait Implementations§
impl Freeze for McpOAuthSettings
impl RefUnwindSafe for McpOAuthSettings
impl Send for McpOAuthSettings
impl Sync for McpOAuthSettings
impl Unpin for McpOAuthSettings
impl UnsafeUnpin for McpOAuthSettings
impl UnwindSafe for McpOAuthSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.