mirror of
https://github.com/mii443/vrchatapi-rust.git
synced 2025-08-22 23:55:33 +00:00
10 lines
306 B
Rust
10 lines
306 B
Rust
#[derive(Debug)]
|
|
struct ClientWrapper(reqwest::Client);
|
|
impl std::ops::Deref for ClientWrapper{
|
|
type Target = reqwest::Client;
|
|
fn deref(&self) -> &Self::Target {
|
|
&self.0
|
|
}
|
|
}
|
|
pub trait Client: std::ops::Deref + std::fmt::Debug {}
|
|
impl<T:std::ops::Deref + std::fmt::Debug> Client for T {} |