pub struct PageScriberConfig {
pub url: Option<String>,
pub domains: Vec<String>,
}Expand description
Configuration for the page scriber service (browser-based fetching)
Fields§
§url: Option<String>Base URL of the page scriber service (e.g., “http://localhost:4000”)
domains: Vec<String>Domains that should use page scriber directly (suffix-matched) e.g., [“seriouseats.com”, “allrecipes.com”]
Trait Implementations§
Source§impl Clone for PageScriberConfig
impl Clone for PageScriberConfig
Source§fn clone(&self) -> PageScriberConfig
fn clone(&self) -> PageScriberConfig
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§impl Debug for PageScriberConfig
impl Debug for PageScriberConfig
Source§impl Default for PageScriberConfig
impl Default for PageScriberConfig
Source§fn default() -> PageScriberConfig
fn default() -> PageScriberConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PageScriberConfig
impl<'de> Deserialize<'de> for PageScriberConfig
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 PageScriberConfig
impl RefUnwindSafe for PageScriberConfig
impl Send for PageScriberConfig
impl Sync for PageScriberConfig
impl Unpin for PageScriberConfig
impl UnsafeUnpin for PageScriberConfig
impl UnwindSafe for PageScriberConfig
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