feat: implement the Debug trait for Client (#11)

This is useful if you want to include client::Client in your own
implementation and derive Debug.
This commit is contained in:
Federico G. Schwindt
2024-07-24 19:08:25 +01:00
committed by GitHub
parent 0c097aa56d
commit 3afeec1d58
3 changed files with 13 additions and 1 deletions

View File

@@ -1,6 +1,11 @@
use jrest::expect;
use mistralai_client::v1::{client::Client, error::ClientError};
#[derive(Debug)]
struct _Foo {
_client: Client,
}
#[test]
fn test_client_new_with_none_params() {
let maybe_original_mistral_api_key = std::env::var("MISTRAL_API_KEY").ok();