data_for_seo

Struct OnPageApiTaskPost

Source
pub struct OnPageApiTaskPost {
Show 42 fields pub target: String, pub max_crawl_pages: i32, pub start_url: Option<String>, pub force_sitewide_checks: Option<bool>, pub priority_urls: Option<Vec<String>>, pub max_crawl_depth: Option<i32>, pub crawl_delay: Option<i32>, pub store_raw_html: Option<bool>, pub enable_content_parsing: Option<bool>, pub support_cookies: Option<bool>, pub accept_language: Option<String>, pub custom_robots_txt: Option<String>, pub robots_txt_merge_mode: Option<String>, pub custom_user_agent: Option<String>, pub browser_preset: Option<String>, pub browser_screen_width: Option<i32>, pub browser_screen_height: Option<i32>, pub browser_screen_scale_factor: Option<f32>, pub respect_sitemap: Option<bool>, pub custom_sitemap: Option<String>, pub crawl_sitemap_only: Option<bool>, pub load_resources: Option<bool>, pub enable_www_redirect_check: Option<bool>, pub enable_javascript: Option<bool>, pub enable_xhr: Option<bool>, pub enable_browser_rendering: Option<bool>, pub disable_cookie_popup: Option<bool>, pub custom_js: Option<String>, pub validate_micromarkup: Option<bool>, pub allow_subdomains: Option<bool>, pub allowed_subdomains: Option<Vec<String>>, pub disallowed_subdomains: Option<Vec<String>>, pub check_spell: Option<String>, pub check_spell_language: Option<String>, pub check_spell_exceptions: Option<Vec<String>>, pub calculate_keyword_density: Option<bool>, pub disable_sitewide_checks: Option<Vec<String>>, pub disable_page_checks: Option<Vec<String>>, pub switch_pool: Option<bool>, pub return_despite_timeout: Option<bool>, pub tag: Option<String>, pub pingback_url: Option<String>,
}

Fields§

§target: String§max_crawl_pages: i32§start_url: Option<String>§force_sitewide_checks: Option<bool>§priority_urls: Option<Vec<String>>§max_crawl_depth: Option<i32>§crawl_delay: Option<i32>§store_raw_html: Option<bool>§enable_content_parsing: Option<bool>§support_cookies: Option<bool>§accept_language: Option<String>§custom_robots_txt: Option<String>§robots_txt_merge_mode: Option<String>§custom_user_agent: Option<String>§browser_preset: Option<String>§browser_screen_width: Option<i32>§browser_screen_height: Option<i32>§browser_screen_scale_factor: Option<f32>§respect_sitemap: Option<bool>§custom_sitemap: Option<String>§crawl_sitemap_only: Option<bool>§load_resources: Option<bool>§enable_www_redirect_check: Option<bool>§enable_javascript: Option<bool>§enable_xhr: Option<bool>§enable_browser_rendering: Option<bool>§disable_cookie_popup: Option<bool>§custom_js: Option<String>§validate_micromarkup: Option<bool>§allow_subdomains: Option<bool>§allowed_subdomains: Option<Vec<String>>§disallowed_subdomains: Option<Vec<String>>§check_spell: Option<String>§check_spell_language: Option<String>§check_spell_exceptions: Option<Vec<String>>§calculate_keyword_density: Option<bool>§disable_sitewide_checks: Option<Vec<String>>§disable_page_checks: Option<Vec<String>>§switch_pool: Option<bool>§return_despite_timeout: Option<bool>§tag: Option<String>§pingback_url: Option<String>

Implementations§

Source§

impl OnPageApiTaskPost

Source

pub fn new(target: String, max_crawl_pages: i32) -> Self

Trait Implementations§

Source§

impl Clone for OnPageApiTaskPost

Source§

fn clone(&self) -> OnPageApiTaskPost

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for OnPageApiTaskPost

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for OnPageApiTaskPost

Source§

fn default() -> OnPageApiTaskPost

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for OnPageApiTaskPost

Source§

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 Serialize for OnPageApiTaskPost

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T