|
|
@ -595,8 +595,7 @@ impl Client {
|
|
|
|
|
|
|
|
|
|
|
|
let response = self
|
|
|
|
let response = self
|
|
|
|
.request("stackTrace".to_owned(), to_value(args).ok(), true)
|
|
|
|
.request("stackTrace".to_owned(), to_value(args).ok(), true)
|
|
|
|
.await?
|
|
|
|
.await?.unwrap();
|
|
|
|
.unwrap();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let body: StackTraceResponseBody = from_value(response.body.unwrap()).unwrap();
|
|
|
|
let body: StackTraceResponseBody = from_value(response.body.unwrap()).unwrap();
|
|
|
|
|
|
|
|
|
|
|
@ -604,10 +603,7 @@ impl Client {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
pub async fn threads(&mut self) -> Result<Vec<Thread>> {
|
|
|
|
pub async fn threads(&mut self) -> Result<Vec<Thread>> {
|
|
|
|
let response = self
|
|
|
|
let response = self.request("threads".to_owned(), None, true).await?.unwrap();
|
|
|
|
.request("threads".to_owned(), None, true)
|
|
|
|
|
|
|
|
.await?
|
|
|
|
|
|
|
|
.unwrap();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let body: ThreadsResponseBody = from_value(response.body.unwrap()).unwrap();
|
|
|
|
let body: ThreadsResponseBody = from_value(response.body.unwrap()).unwrap();
|
|
|
|
|
|
|
|
|
|
|
@ -619,8 +615,7 @@ impl Client {
|
|
|
|
|
|
|
|
|
|
|
|
let response = self
|
|
|
|
let response = self
|
|
|
|
.request("scopes".to_owned(), to_value(args).ok(), true)
|
|
|
|
.request("scopes".to_owned(), to_value(args).ok(), true)
|
|
|
|
.await?
|
|
|
|
.await?.unwrap();
|
|
|
|
.unwrap();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let body: ScopesResponseBody = from_value(response.body.unwrap()).unwrap();
|
|
|
|
let body: ScopesResponseBody = from_value(response.body.unwrap()).unwrap();
|
|
|
|
|
|
|
|
|
|
|
@ -638,8 +633,7 @@ impl Client {
|
|
|
|
|
|
|
|
|
|
|
|
let response = self
|
|
|
|
let response = self
|
|
|
|
.request("variables".to_owned(), to_value(args).ok(), true)
|
|
|
|
.request("variables".to_owned(), to_value(args).ok(), true)
|
|
|
|
.await?
|
|
|
|
.await?.unwrap();
|
|
|
|
.unwrap();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let body: VariablesResponseBody = from_value(response.body.unwrap()).unwrap();
|
|
|
|
let body: VariablesResponseBody = from_value(response.body.unwrap()).unwrap();
|
|
|
|
|
|
|
|
|
|
|
|