pub trait APIInterface { fn version(&self) -> String; } pub struct TestClient {} impl APIInterface for TestClient { fn version(&self) -> String { return "KordophoneTest-1.0".to_string() } }