Struct queue_times::parser::FrontPageParser [−][src]
pub struct FrontPageParser { /* fields omitted */ }
Expand description
Parser for the queue times front page. Used to parse what the current links to parks are.
Example
use queue_times::parser::FrontPageParser; let html = reqwest::blocking::get("https://queue-times.com/en-US/parks/")?.text()?; let parser = FrontPageParser::new(); let parks = parser.get_park_urls(&html)?; println!("{:?}", parks)
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FrontPageParser
impl Send for FrontPageParser
impl Sync for FrontPageParser
impl Unpin for FrontPageParser
impl UnwindSafe for FrontPageParser
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more