pub struct HistoryItem {
pub id: String,
pub last_visit_time: Option<f64>,
pub title: Option<String>,
pub typed_count: Option<usize>,
pub url: Option<String>,
pub visit_count: Option<usize>,
}Expand description
https://developer.chrome.com/docs/extensions/reference/history/#type-HistoryItem
An object encapsulating one result of a history query.
Fields§
§id: StringUnique identifier.
last_visit_time: Option<f64>When this page was last loaded, represented in milliseconds since the epoch.
title: Option<String>The title of the page when it was last loaded.
typed_count: Option<usize>The number of times the user has navigated to this page by typing in the address.
url: Option<String>The URL of the page.
visit_count: Option<usize>The number of times the user has visited the page.
Trait Implementations§
Source§impl Clone for HistoryItem
impl Clone for HistoryItem
Source§fn clone(&self) -> HistoryItem
fn clone(&self) -> HistoryItem
Returns a duplicate of the value. Read more
1.0.0 · 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 HistoryItem
impl Debug for HistoryItem
Source§impl<'de> Deserialize<'de> for HistoryItem
impl<'de> Deserialize<'de> for HistoryItem
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HistoryItem
impl RefUnwindSafe for HistoryItem
impl Send for HistoryItem
impl Sync for HistoryItem
impl Unpin for HistoryItem
impl UnwindSafe for HistoryItem
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