libduvet/model/room_type

Types

What a room is: text, voice, or a category of rooms.

pub type RoomType {
  RoomType(Int)
}

Constructors

  • RoomType(Int)

Values

pub const category: RoomType
pub fn from_int(value: Int) -> RoomType
pub const text: RoomType
pub fn to_label(room_type: RoomType) -> String
pub fn value(room_type: RoomType) -> Int
pub const voice: RoomType
✨ Search Document