pub struct SearchEventsSample {
pub url: String,
pub title: String,
pub event_date: DateTime<Utc>,
pub last_access: DateTime<Utc>,
pub event: ApiSearchEventEnum,
pub excluded_url_status: Option<ApiExcludedUrlStatus>,
pub bad_http_status: Option<i32>,
pub target_url: Option<String>,
}Expand description
Search events sample
Fields§
§url: StringPage URL
title: StringPage heading
event_date: DateTime<Utc>Date when page appeared or was excluded
last_access: DateTime<Utc>Date when page was last crawled before appearing or being excluded
event: ApiSearchEventEnumThe appearance or removal of the page
excluded_url_status: Option<ApiExcludedUrlStatus>Reason the page was excluded
bad_http_status: Option<i32>Page’s HTTP response code for HTTP_ERROR status
target_url: Option<String>Another address of the page (redirect target, canonical, or duplicate)
Trait Implementations§
Source§impl Clone for SearchEventsSample
impl Clone for SearchEventsSample
Source§fn clone(&self) -> SearchEventsSample
fn clone(&self) -> SearchEventsSample
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SearchEventsSample
impl Debug for SearchEventsSample
Source§impl<'de> Deserialize<'de> for SearchEventsSample
impl<'de> Deserialize<'de> for SearchEventsSample
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
Source§impl PartialEq for SearchEventsSample
impl PartialEq for SearchEventsSample
Source§impl Serialize for SearchEventsSample
impl Serialize for SearchEventsSample
impl Eq for SearchEventsSample
impl StructuralPartialEq for SearchEventsSample
Auto Trait Implementations§
impl Freeze for SearchEventsSample
impl RefUnwindSafe for SearchEventsSample
impl Send for SearchEventsSample
impl Sync for SearchEventsSample
impl Unpin for SearchEventsSample
impl UnwindSafe for SearchEventsSample
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.