Struct dvb::prelude::Monitor
[−]
[src]
pub struct Monitor<'a> { // some fields omitted }
Modeling the endpoint "abfahrtsmonitor/Abfahrten".
Methods
impl<'a> Monitor<'a>
[src]
fn new(name: &'a str) -> Self
Creates new Monitor
from name.
City defaults to ""
.
fn city(self, city: &'a str) -> Self
Modifies the monitors city.
fn by_line(&self) -> Result<MultiMap<String, (String, u32)>>
Gives you lists tuples (direction:String, time-to-departure:u32)
by line name