pub struct McpOAuthSettingsDefinition {
pub client_id: Option<String>,
pub client_secret: Option<String>,
pub client_metadata_url: Option<String>,
pub scopes: Option<Vec<String>>,
}Fields§
§client_id: Option<String>§client_secret: Option<String>§client_metadata_url: Option<String>§scopes: Option<Vec<String>>Trait Implementations§
Source§impl Clone for McpOAuthSettingsDefinition
impl Clone for McpOAuthSettingsDefinition
Source§fn clone(&self) -> McpOAuthSettingsDefinition
fn clone(&self) -> McpOAuthSettingsDefinition
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 McpOAuthSettingsDefinition
impl Debug for McpOAuthSettingsDefinition
Source§impl Default for McpOAuthSettingsDefinition
impl Default for McpOAuthSettingsDefinition
Source§fn default() -> McpOAuthSettingsDefinition
fn default() -> McpOAuthSettingsDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for McpOAuthSettingsDefinition
impl<'de> Deserialize<'de> for McpOAuthSettingsDefinition
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 McpOAuthSettingsDefinition
Source§impl JsonSchema for McpOAuthSettingsDefinition
impl JsonSchema for McpOAuthSettingsDefinition
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for McpOAuthSettingsDefinition
impl PartialEq for McpOAuthSettingsDefinition
Source§fn eq(&self, other: &McpOAuthSettingsDefinition) -> bool
fn eq(&self, other: &McpOAuthSettingsDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for McpOAuthSettingsDefinition
Auto Trait Implementations§
impl Freeze for McpOAuthSettingsDefinition
impl RefUnwindSafe for McpOAuthSettingsDefinition
impl Send for McpOAuthSettingsDefinition
impl Sync for McpOAuthSettingsDefinition
impl Unpin for McpOAuthSettingsDefinition
impl UnsafeUnpin for McpOAuthSettingsDefinition
impl UnwindSafe for McpOAuthSettingsDefinition
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