pub struct SelfHostedOrganizationLicensesApiClient {
configuration: Arc<Configuration>,
}
Fields§
§configuration: Arc<Configuration>
Implementations§
Source§impl SelfHostedOrganizationLicensesApiClient
impl SelfHostedOrganizationLicensesApiClient
pub fn new(configuration: Arc<Configuration>) -> Self
Trait Implementations§
Source§impl SelfHostedOrganizationLicensesApi for SelfHostedOrganizationLicensesApiClient
impl SelfHostedOrganizationLicensesApi for SelfHostedOrganizationLicensesApiClient
Source§fn create_license<'a, 'life0, 'async_trait>(
&'life0 self,
key: &'a str,
keys_public_key: &'a str,
keys_encrypted_private_key: &'a str,
license: PathBuf,
collection_name: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<CreateLicenseError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn create_license<'a, 'life0, 'async_trait>(
&'life0 self,
key: &'a str,
keys_public_key: &'a str,
keys_encrypted_private_key: &'a str,
license: PathBuf,
collection_name: Option<&'a str>,
) -> Pin<Box<dyn Future<Output = Result<OrganizationResponseModel, Error<CreateLicenseError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/licenses/self-hosted
Source§fn sync_license<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<SyncLicenseError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn sync_license<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
) -> Pin<Box<dyn Future<Output = Result<(), Error<SyncLicenseError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/licenses/self-hosted/{id}/sync
Source§fn update_license<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
license: PathBuf,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateLicenseError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn update_license<'a, 'life0, 'async_trait>(
&'life0 self,
id: &'a str,
license: PathBuf,
) -> Pin<Box<dyn Future<Output = Result<(), Error<UpdateLicenseError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/licenses/self-hosted/{id}
Auto Trait Implementations§
impl Freeze for SelfHostedOrganizationLicensesApiClient
impl !RefUnwindSafe for SelfHostedOrganizationLicensesApiClient
impl Send for SelfHostedOrganizationLicensesApiClient
impl Sync for SelfHostedOrganizationLicensesApiClient
impl Unpin for SelfHostedOrganizationLicensesApiClient
impl !UnwindSafe for SelfHostedOrganizationLicensesApiClient
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