pub struct LoopbackConfig {
pub host: String,
pub port: LoopbackPort,
pub open_browser: bool,
pub timeout_ms: u64,
}Expand description
Configuration for the loopback OAuth callback server.
Fields§
§host: StringThe host address to bind to (e.g., "127.0.0.1").
port: LoopbackPortPort selection strategy.
open_browser: boolWhether to attempt opening the authorization URL in the user’s browser.
timeout_ms: u64How long to wait for the callback before timing out, in milliseconds.
Trait Implementations§
Source§impl Clone for LoopbackConfig
impl Clone for LoopbackConfig
Source§fn clone(&self) -> LoopbackConfig
fn clone(&self) -> LoopbackConfig
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 LoopbackConfig
impl Debug for LoopbackConfig
Auto Trait Implementations§
impl Freeze for LoopbackConfig
impl RefUnwindSafe for LoopbackConfig
impl Send for LoopbackConfig
impl Sync for LoopbackConfig
impl Unpin for LoopbackConfig
impl UnsafeUnpin for LoopbackConfig
impl UnwindSafe for LoopbackConfig
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