cli_sky/lexicon/
client.rs

1// @generated - This file is generated by atrium-codegen. DO NOT EDIT.
2//!Structs for ATP client, implements all HTTP APIs of XRPC.
3///Client struct for the ATP service.
4pub struct AtpServiceClient<T>
5where
6    T: atrium_xrpc::XrpcClient + Send + Sync + 'static,
7{
8    pub service: Service<T>,
9}
10impl<T> AtpServiceClient<T>
11where
12    T: atrium_xrpc::XrpcClient + Send + Sync + 'static,
13{
14    pub fn new(xrpc: T) -> Self {
15        Self {
16            service: Service::new(std::sync::Arc::new(xrpc)),
17        }
18    }
19}
20pub struct Service<T>
21where
22    T: atrium_xrpc::XrpcClient + Send + Sync + 'static,
23{
24    pub(crate) _phantom: core::marker::PhantomData<T>,
25}