pub struct NavCommand {
pub tab_id: i32,
pub index: i32,
pub url: String,
pub title: String,
}Expand description
A decoded UpdateTabNavigation command: which tab, which back/forward
position, and the URL + title recorded at that position.
tab_id groups entries into a tab (the replay engine uses it in a later
milestone); index is the position within that tab’s history.
Fields§
§tab_id: i32SessionID grouping entries into one tab.
index: i32Position in the tab’s back/forward history.
url: StringThe page URL (lossily decoded UTF-8; never panics on bad bytes).
title: StringThe page title (lossily decoded UTF-16-LE; never panics on bad bytes).
Trait Implementations§
Source§fn clone(&self) -> NavCommand
fn clone(&self) -> NavCommand
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§fn eq(&self, other: &NavCommand) -> bool
fn eq(&self, other: &NavCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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