Struct dvb::Station
[−]
[src]
pub struct Station<'a> { // some fields omitted }
Modeling the endpoint "abfahrtsmonitor/Haltestelle".
Methods
impl<'a> Station<'a>
[src]
fn new(name: &'a str) -> Self
Creates new Station
from station name.
City defaults to "Dresden"
.
fn city(self, city: &'a str) -> Self
Modifies the stations city.