1 2 3 4 5 6 7 8 9
use auth_service_dot::Credentials; fn main() { let cred = Credentials { username: "user_1".to_owned(), password: "passowrd".to_owned(), }; auth_service_dot::authenticate(cred); }