Menu

Struct

BrowserMetadata

kurogane::BrowserMetadataSource
pub struct BrowserMetadata { pub id: BrowserId, pub browser_type: BrowserType, pub parent_id: Option<BrowserId>, pub opener_id: Option<BrowserId>, pub created_at: Instant, }

What the runtime knows about an open browser, from AppHandle::browsers.

Fields

#pub id: BrowserId

Browser identifier.

#pub browser_type: BrowserType

Kind of browser.

#pub parent_id: Option<BrowserId>

Browser that opened a popup or that DevTools inspects. None for a Main or ChromeUi browser.

#pub opener_id: Option<BrowserId>

Same browser as parent_id.

#pub created_at: Instant

When the runtime first saw the browser.

Trait implementations