pub struct PinServerClient {
pub client: Client,
}
Fields§
§client: Client
Implementations§
Source§impl PinServerClient
impl PinServerClient
pub fn new() -> Self
pub async fn request<D>(&self, req: PinServerRequestParams) -> Result<D, Error>where
D: DeserializeOwned,
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PinServerClient
impl !RefUnwindSafe for PinServerClient
impl Send for PinServerClient
impl Sync for PinServerClient
impl Unpin for PinServerClient
impl !UnwindSafe for PinServerClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more