Struct htwdresden::Room [] [src]

pub struct Room {
    pub name: String,
}

Fields

Methods

impl Room
[src]

Returns a list of free Roomss for a list of given parameters.

Arguments

  • week - Even or odd week
  • Weekday - A specified weekday
  • start_time - Beginning of the search timeframe
  • end_time - Ending of the search timeframe
  • building - Which building to search in

Example

use htwdresden::{Week, Weekday, Room, Building};

let rooms = Room::get_free(Week::Even, Weekday::Monday, "9:30", "10:30", Building::Z);

Trait Implementations

impl Debug for Room
[src]

Formats the value using the given formatter.

impl From<String> for Room
[src]

Performs the conversion.