pub struct Oauth {
pub client_id: Option<String>,
}Expand description
This message defines attributes associated with OAuth credentials.
This type is not used in any activity, and only used as part of another schema.
Fields§
§client_id: Option<String>The optional OAuth client ID. This is the unique public identifier issued by an authorization server to a registered client application. Empty string is equivalent to no oauth client id. WARNING: This is for MCP tools/call and tools/list authorization and not for general use.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Oauth
impl<'de> Deserialize<'de> for Oauth
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 Part for Oauth
Auto Trait Implementations§
impl Freeze for Oauth
impl RefUnwindSafe for Oauth
impl Send for Oauth
impl Sync for Oauth
impl Unpin for Oauth
impl UnwindSafe for Oauth
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