pub struct StartBrowserLoginOpts<'a> {
pub auth_url: &'a str,
pub listen: &'a str,
pub contract_json: &'a str,
}Expand description
Options for starting a browser-based admin login flow.
Fields§
§auth_url: &'a strBase URL for the Trellis auth service.
listen: &'a strLocal callback address in host:port form.
contract_json: &'a strContract JSON sent to /auth/login when starting the flow.
Auto Trait Implementations§
impl<'a> Freeze for StartBrowserLoginOpts<'a>
impl<'a> RefUnwindSafe for StartBrowserLoginOpts<'a>
impl<'a> Send for StartBrowserLoginOpts<'a>
impl<'a> Sync for StartBrowserLoginOpts<'a>
impl<'a> Unpin for StartBrowserLoginOpts<'a>
impl<'a> UnsafeUnpin for StartBrowserLoginOpts<'a>
impl<'a> UnwindSafe for StartBrowserLoginOpts<'a>
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