pub struct OpenApiClient { /* private fields */ }Implementations§
Source§impl OpenApiClient
impl OpenApiClient
pub fn new(master_token: &String, user_token: &String) -> Self
pub async fn get_ticket_with_retry( &self, check_query: impl CheckQueryTrait + Clone, ) -> Result<Arc<Ticket>, OpenApiClientError>
pub async fn get_ticket( &self, check_query: impl CheckQueryTrait, ) -> Result<Envelope, OpenApiClientError>
Auto Trait Implementations§
impl !RefUnwindSafe for OpenApiClient
impl !UnwindSafe for OpenApiClient
impl Freeze for OpenApiClient
impl Send for OpenApiClient
impl Sync for OpenApiClient
impl Unpin for OpenApiClient
impl UnsafeUnpin for OpenApiClient
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