libmatrix-client/src/api/mod.rs
Edward Shen 0e1b69f526
Implemented internal request function for client
added skeleton for other files
added todo
2019-08-19 23:41:01 -04:00

14 lines
302 B
Rust

use serde::Deserialize;
use std::collections::HashMap;
pub mod client;
pub mod error;
pub mod methods;
pub type Result<T> = std::result::Result<T, error::ApiError>;
#[derive(Deserialize)]
pub struct VersionApiResp {
pub versions: Vec<String>,
pub unstable_features: HashMap<String, bool>,
}