pub struct McpAuthClientOptions {
pub auth_url: String,
pub resource: Option<String>,
pub allowed_origin: Option<String>,
pub discovery_cache_ttl: Duration,
pub http_client: Client,
}Fields§
§auth_url: String§resource: Option<String>§allowed_origin: Option<String>§discovery_cache_ttl: Duration§http_client: ClientTrait Implementations§
Source§impl Clone for McpAuthClientOptions
impl Clone for McpAuthClientOptions
Source§fn clone(&self) -> McpAuthClientOptions
fn clone(&self) -> McpAuthClientOptions
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 McpAuthClientOptions
impl Debug for McpAuthClientOptions
Auto Trait Implementations§
impl Freeze for McpAuthClientOptions
impl !RefUnwindSafe for McpAuthClientOptions
impl Send for McpAuthClientOptions
impl Sync for McpAuthClientOptions
impl Unpin for McpAuthClientOptions
impl UnsafeUnpin for McpAuthClientOptions
impl !UnwindSafe for McpAuthClientOptions
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