Struct queue_times::parser::GenericParkParser [−][src]
pub struct GenericParkParser { /* fields omitted */ }
Expand description
Parser that can currently parse all parks.
Example
use queue_times::parser::{GenericParkParser, ParkParser}; //Gets Cedar Point's ride page let html_str = reqwest::blocking::get("https://queue-times.com/en-US/parks/50/queue_times")?.text()?; let parser = GenericParkParser::new(); let rides = parser.get_ride_times(&html_str)?; println!("{:?}", rides)
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 GenericParkParser
impl Send for GenericParkParser
impl Sync for GenericParkParser
impl Unpin for GenericParkParser
impl UnwindSafe for GenericParkParser
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more