pub(crate) struct Tab {
pub(crate) owner: SessionSlot,
since: Instant,
opener: Option<u16>,
is_popup: bool,
pub(crate) target: String,
title: String,
url: String,
busy: bool,
}Fields§
§owner: SessionSlot§since: InstantWhen the tab was taken for its owner, as a refusal by name reports it.
opener: Option<u16>The tab whose page opened this one; None for a tab a session owns
outright. A popup closing hands its session back here.
is_popup: boolWhether this tab was opened as a popup. Kept when opener is
rewritten: an opener that closes first hands its children None,
and the popup is still a popup while its page is open.
target: StringThe page’s CDP target id: the name the browser and the driver share.
title: String§url: String§busy: boolAuto Trait Implementations§
impl Freeze for Tab
impl RefUnwindSafe for Tab
impl Send for Tab
impl Sync for Tab
impl Unpin for Tab
impl UnsafeUnpin for Tab
impl UnwindSafe for Tab
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