pub struct McpOAuthPreparedLogin {
pub auth_url: String,
pub callback_port: u16,
pub timeout_secs: u64,
/* private fields */
}Expand description
Prepared browser-login flow for an MCP OAuth provider.
Fields§
§auth_url: String§callback_port: u16§timeout_secs: u64Implementations§
Source§impl McpOAuthPreparedLogin
impl McpOAuthPreparedLogin
pub fn expected_state(&self) -> &str
Trait Implementations§
Source§impl Clone for McpOAuthPreparedLogin
impl Clone for McpOAuthPreparedLogin
Source§fn clone(&self) -> McpOAuthPreparedLogin
fn clone(&self) -> McpOAuthPreparedLogin
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 moreAuto Trait Implementations§
impl Forget for McpOAuthPreparedLogin
impl Freeze for McpOAuthPreparedLoginwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
impl Move for McpOAuthPreparedLogin
impl RefUnwindSafe for McpOAuthPreparedLogin
impl Send for McpOAuthPreparedLogin
impl Sync for McpOAuthPreparedLogin
impl Unpin for McpOAuthPreparedLogin
impl UnsafeUnpin for McpOAuthPreparedLoginwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
impl UnwindSafe for McpOAuthPreparedLogin
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