pub struct McpAuthCallbackRequest {
pub code: String,
pub state: Option<String>,
}Expand description
MCP auth callback request.
Fields§
§code: StringAuthorization code.
state: Option<String>State parameter.
Trait Implementations§
Source§impl Clone for McpAuthCallbackRequest
impl Clone for McpAuthCallbackRequest
Source§fn clone(&self) -> McpAuthCallbackRequest
fn clone(&self) -> McpAuthCallbackRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 McpAuthCallbackRequest
impl Debug for McpAuthCallbackRequest
Source§impl<'de> Deserialize<'de> for McpAuthCallbackRequest
impl<'de> Deserialize<'de> for McpAuthCallbackRequest
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
Auto Trait Implementations§
impl Freeze for McpAuthCallbackRequest
impl RefUnwindSafe for McpAuthCallbackRequest
impl Send for McpAuthCallbackRequest
impl Sync for McpAuthCallbackRequest
impl Unpin for McpAuthCallbackRequest
impl UnwindSafe for McpAuthCallbackRequest
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