Initial commit
This commit is contained in:
12
kordophone/src/api/mod.rs
Normal file
12
kordophone/src/api/mod.rs
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
pub trait APIInterface {
|
||||
fn version(&self) -> String;
|
||||
}
|
||||
|
||||
pub struct TestClient {}
|
||||
|
||||
impl APIInterface for TestClient {
|
||||
fn version(&self) -> String {
|
||||
return "KordophoneTest-1.0".to_string()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user