pub struct LicensesApiClient {
configuration: Arc<Configuration>,
}Fields§
§configuration: Arc<Configuration>Implementations§
Source§impl LicensesApiClient
impl LicensesApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl LicensesApi for LicensesApiClient
impl LicensesApi for LicensesApiClient
Source§fn get_user<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
key: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<UserLicense, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn get_user<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
key: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<UserLicense, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /licenses/user/{id}
Source§fn organization_sync<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
self_hosted_organization_license_request_model: Option<SelfHostedOrganizationLicenseRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationLicense, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn organization_sync<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
self_hosted_organization_license_request_model: Option<SelfHostedOrganizationLicenseRequestModel>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationLicense, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
GET /licenses/organization/{id}
Auto Trait Implementations§
impl Freeze for LicensesApiClient
impl !RefUnwindSafe for LicensesApiClient
impl Send for LicensesApiClient
impl Sync for LicensesApiClient
impl Unpin for LicensesApiClient
impl UnsafeUnpin for LicensesApiClient
impl !UnwindSafe for LicensesApiClient
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