pub struct Query<'a> {
pub text: &'a str,
pub end_time: Option<i64>,
pub max_results: Option<usize>,
pub start_time: Option<i64>,
}Fields§
§text: &'a strA free-text query to the history service.
Leave empty to retrieve all pages.
end_time: Option<i64>Limit results to those visited before this date, represented in milliseconds since the epoch.
max_results: Option<usize>The maximum number of results to retrieve.
Defaults to 100.
start_time: Option<i64>Limit results to those visited after this date, represented in milliseconds since the epoch.
If not specified, this defaults to 24 hours in the past.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Query<'a>
impl<'a> RefUnwindSafe for Query<'a>
impl<'a> Send for Query<'a>
impl<'a> Sync for Query<'a>
impl<'a> Unpin for Query<'a>
impl<'a> UnwindSafe for Query<'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