pub struct LeasesApiClient {
configuration: Arc<Configuration>,
}Fields§
§configuration: Arc<Configuration>Implementations§
Source§impl LeasesApiClient
impl LeasesApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl LeasesApi for LeasesApiClient
impl LeasesApi for LeasesApiClient
Source§fn extend<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
access_lease_extension_request_model: AccessLeaseExtensionRequestModel,
) -> Pin<Box<dyn Future<Output = Result<AccessRequestDetailsResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn extend<'a, 'life0, 'async_trait>(
&'life0 self,
id: Uuid,
access_lease_extension_request_model: AccessLeaseExtensionRequestModel,
) -> Pin<Box<dyn Future<Output = Result<AccessRequestDetailsResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /leases/{id}/extend
Source§fn get_active<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AccessLeaseResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_active<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AccessLeaseResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /leases/active
Source§fn get_history<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AccessLeaseResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_history<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<AccessLeaseResponseModelListResponseModel, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /leases/history
Auto Trait Implementations§
impl Freeze for LeasesApiClient
impl !RefUnwindSafe for LeasesApiClient
impl Send for LeasesApiClient
impl Sync for LeasesApiClient
impl Unpin for LeasesApiClient
impl UnsafeUnpin for LeasesApiClient
impl !UnwindSafe for LeasesApiClient
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more