pub struct McpOauth {
pub token_url: String,
pub client_id: String,
pub client_secret: Secret,
pub scope: Option<String>,
}Fields§
§token_url: String§client_id: String§client_secret: Secret§scope: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for McpOauth
impl<'de> Deserialize<'de> for McpOauth
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 StructuralPartialEq for McpOauth
Auto Trait Implementations§
impl Freeze for McpOauth
impl RefUnwindSafe for McpOauth
impl Send for McpOauth
impl Sync for McpOauth
impl Unpin for McpOauth
impl UnsafeUnpin for McpOauth
impl UnwindSafe for McpOauth
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