// Copyright (C) 2020 Sebastian Dröge // // Licensed under the MIT license, see the LICENSE file or use serde::{Deserialize, Serialize}; /// Response of the `rooms` endpoint. #[derive(Debug, Serialize, Deserialize)] #[serde(rename_all = "lowercase")] pub struct Rooms(pub Vec); /// Information for one `Room #[derive(Debug, Serialize, Deserialize)] #[serde(rename_all = "lowercase")] pub struct Room { pub id: uuid::Uuid, pub name: String, pub description: Option, }