Struct dvb::Monitor [] [src]

pub struct Monitor<'a> {
    // some fields omitted
}

Modeling the endpoint "abfahrtsmonitor/Abfahrten".

Methods

impl<'a> Monitor<'a>
[src]

Creates new Monitor from name. City defaults to "".

Modifies the monitors city.

Gives you lists tuples (direction:String, time-to-departure:u32) by line name

Trait Implementations

impl<'a> APIEndPoint for Monitor<'a>
[src]

Returns the content of the API endpoints response.

Returns the content of the API endpoints response parsed as JsonValue.