Struct Client

Source
pub struct Client { /* private fields */ }
Expand description

Client for DSH Tenant Resource Management REST API

Resource management API for DSH

Version: 1.10.0

Implementations§

Source§

impl Client

Source

pub fn new(baseurl: &str) -> Self

Create a new client.

baseurl is the base URL provided to the internal reqwest::Client, and should include a scheme and hostname, as well as port and a path stem if applicable.

Source

pub fn new_with_client(baseurl: &str, client: Client) -> Self

Construct a new client with an existing reqwest::Client, allowing more control over its configuration.

baseurl is the base URL provided to the internal reqwest::Client, and should include a scheme and hostname, as well as port and a path stem if applicable.

Source

pub fn baseurl(&self) -> &String

Get the base URL to which requests are made.

Source

pub fn client(&self) -> &Client

Get the internal reqwest::Client used to make requests.

Source

pub fn api_version(&self) -> &'static str

Get the version of this API.

This string is pulled directly from the source OpenAPI document and may be in any format the API selects.

Source§

impl Client

Source

pub async fn application_get_by_tenant_application_configuration<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<HashMap<String, Application>>, Error<()>>

Returns the configuration of every application created by a given tenant

Sends a GET request to /allocation/{tenant}/application/configuration

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn application_get_by_tenant_application_by_appid_configuration<'a>( &'a self, tenant: &'a str, appid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Application>, Error<()>>

Returns the configuration of a certain application, specified by the tenant name and application name

Sends a GET request to /allocation/{tenant}/application/{appid}/configuration

Arguments:

  • tenant: tenant name
  • appid: application name
  • authorization: Authorization header (bearer token)
Source

pub async fn application_put_by_tenant_application_by_appid_configuration<'a>( &'a self, tenant: &'a str, appid: &'a str, authorization: &'a str, body: &'a Application, ) -> Result<ResponseValue<()>, Error<()>>

creates an application allocation, or update it’s configuration

Sends a PUT request to /allocation/{tenant}/application/{appid}/configuration

Arguments:

  • tenant: tenant name
  • appid: application name
  • authorization: Authorization header (bearer token)
  • body: a JSON containing the configuration of the application you want to deploy
Source

pub async fn application_delete_by_tenant_application_by_appid_configuration<'a>( &'a self, tenant: &'a str, appid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

deletes an application by a specified application id

Sends a DELETE request to /allocation/{tenant}/application/{appid}/configuration

Arguments:

  • tenant: tenant name
  • appid: application name
  • authorization: Authorization header (bearer token)
Source

pub async fn application_get_by_tenant_application_actual<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<HashMap<String, Application>>, Error<()>>

returns a list containing the configuration of every deployed application of a given tenant

Sends a GET request to /allocation/{tenant}/application/actual

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn application_get_by_tenant_application_by_appid_actual<'a>( &'a self, tenant: &'a str, appid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Application>, Error<()>>

returns the configuration of a deployed application allocation for a given app id and tenant

Sends a GET request to /allocation/{tenant}/application/{appid}/actual

Arguments:

  • tenant: tenant name
  • appid: application name
  • authorization: Authorization header (bearer token)
Source

pub async fn application_get_by_tenant_application_by_appid_status<'a>( &'a self, tenant: &'a str, appid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>

returns a status description of an application allocation

Sends a GET request to /allocation/{tenant}/application/{appid}/status

Arguments:

  • tenant: tenant name
  • appid: application name
  • authorization: Authorization header (bearer token)
Source

pub async fn app_catalog_get_by_tenant_appcatalogapp_configuration<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<HashMap<String, AppCatalogApp>>, Error<()>>

returns a list containing all App Catalog App allocations and their respective configurations of a given tenant

Sends a GET request to /allocation/{tenant}/appcatalogapp/configuration

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn app_catalog_get_by_tenant_appcatalogapp_actual<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<HashMap<String, AppCatalogApp>>, Error<()>>

returns a list containing all App Catalog App allocations and their respective configurations of a given tenant, as they are actually deployed

Sends a GET request to /allocation/{tenant}/appcatalogapp/actual

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn app_catalog_get_by_tenant_appcatalogapp_by_appcatalogappid_configuration<'a>( &'a self, tenant: &'a str, appcatalogappid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AppCatalogApp>, Error<()>>

returns the configuration of an App Catalog App allocation by a specified tenant name and App Catalog App Id. To only view the configuration parameters of this allocation, see the appcatalogappconfiguration section.

Sends a GET request to /allocation/{tenant}/appcatalogapp/{appcatalogappid}/configuration

Arguments:

  • tenant: tenant name
  • appcatalogappid: appcatalogapp name
  • authorization: Authorization header (bearer token)
Source

pub async fn app_catalog_get_by_tenant_appcatalogapp_by_appcatalogappid_actual<'a>( &'a self, tenant: &'a str, appcatalogappid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AppCatalogApp>, Error<()>>

returns the configuration of an App Catalog App allocation as it is actually deployed. To only view the configuration parameters of this allocation, see the appcatalogappconfiguration section.

Sends a GET request to /allocation/{tenant}/appcatalogapp/{appcatalogappid}/actual

Arguments:

  • tenant: tenant name
  • appcatalogappid: appcatalogapp name
  • authorization: Authorization header (bearer token)
Source

pub async fn app_catalog_app_configuration_get_appcatalog_by_tenant_appcatalogapp_by_appcatalogappid_configuration<'a>( &'a self, tenant: &'a str, appcatalogappid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AppCatalogAppConfiguration>, Error<()>>

Returns the wanted configuration of an App Catalog App by its tenant name and AppCatalogApp Id. If an App Catalog App is stuck while deploying and not on actual, it will show up here

Sends a GET request to /appcatalog/{tenant}/appcatalogapp/{appcatalogappid}/configuration

Arguments:

  • tenant: tenant name
  • appcatalogappid: appcatalogapp name
  • authorization: Authorization header (bearer token)
Source

pub async fn app_catalog_app_configuration_put_appcatalog_by_tenant_appcatalogapp_by_appcatalogappid_configuration<'a>( &'a self, tenant: &'a str, appcatalogappid: &'a str, authorization: &'a str, body: &'a AppCatalogAppConfiguration, ) -> Result<ResponseValue<()>, Error<()>>

creates a new App Catalog App, or update its configuration

Sends a PUT request to /appcatalog/{tenant}/appcatalogapp/{appcatalogappid}/configuration

Arguments:

  • tenant: tenant name
  • appcatalogappid: appcatalogapp name
  • authorization: Authorization header (bearer token)
  • body: JSON object containing required parameters for AppCatalogApp manifest. This is comparable to the configuration object on a regular Application service.
Source

pub async fn app_catalog_app_configuration_delete_appcatalog_by_tenant_appcatalogapp_by_appcatalogappid_configuration<'a>( &'a self, tenant: &'a str, appcatalogappid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

deletes an App Catalog App

Sends a DELETE request to /appcatalog/{tenant}/appcatalogapp/{appcatalogappid}/configuration

Arguments:

  • tenant: tenant name
  • appcatalogappid: appcatalogapp name
  • authorization: Authorization header (bearer token)
Source

pub async fn app_catalog_app_configuration_get_appcatalog_by_tenant_appcatalogapp_by_appcatalogappid_status<'a>( &'a self, tenant: &'a str, appcatalogappid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>

gets status description of an App Catalog App

Sends a GET request to /appcatalog/{tenant}/appcatalogapp/{appcatalogappid}/status

Arguments:

  • tenant: tenant name
  • appcatalogappid: appcatalogapp name
  • authorization: Authorization header (bearer token)
Source

pub async fn app_catalog_manifest_get_appcatalog_by_tenant_manifest<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Vec<AppCatalogManifest>>, Error<()>>

returns a list of AppCatalog manifests for a given tenant

Sends a GET request to /appcatalog/{tenant}/manifest

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_watch_get_by_tenant_bucketwatch<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

lists all bucketwatches of a tenant

Sends a GET request to /allocation/{tenant}/bucketwatch

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_watch_get_by_tenant_bucket_by_id_bucketwatch<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<BucketWatchStatus>, Error<()>>

shows overall status of a bucketwatch allocation

Sends a GET request to /allocation/{tenant}/bucket/{id}/bucketwatch

Arguments:

  • tenant: tenant name
  • id: bucket name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_watch_get_by_tenant_bucket_by_id_bucketwatch_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<BucketWatch>, Error<()>>

gets configuration of a bucketwatch allocation

Sends a GET request to /allocation/{tenant}/bucket/{id}/bucketwatch/configuration

Arguments:

  • tenant: tenant name
  • id: bucket name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_watch_put_by_tenant_bucket_by_id_bucketwatch_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

creates bucketwatch configuration

Sends a PUT request to /allocation/{tenant}/bucket/{id}/bucketwatch/configuration

Arguments:

  • tenant: tenant name
  • id: bucket name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_watch_delete_by_tenant_bucket_by_id_bucketwatch_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

deletes a bucketwatch

Sends a DELETE request to /allocation/{tenant}/bucket/{id}/bucketwatch/configuration

Arguments:

  • tenant: tenant name
  • id: bucket name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_watch_get_by_tenant_bucket_by_id_bucketwatch_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<BucketWatch>, Error<()>>

gets actual configuration of a bucketwatch allocation

Sends a GET request to /allocation/{tenant}/bucket/{id}/bucketwatch/actual

Arguments:

  • tenant: tenant name
  • id: bucket name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_watch_get_by_tenant_bucket_by_id_bucketwatch_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>

gets status description of a bucketwatch allocation

Sends a GET request to /allocation/{tenant}/bucket/{id}/bucketwatch/status

Arguments:

  • tenant: tenant name
  • id: bucket name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_get_by_tenant_bucket<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

lists all bucket names of a tenant

Sends a GET request to /allocation/{tenant}/bucket

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_get_by_tenant_bucket_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<BucketStatus>, Error<()>>

shows overall status of a bucket allocation

Sends a GET request to /allocation/{tenant}/bucket/{id}

Arguments:

  • tenant: tenant name
  • id: bucket name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_get_by_tenant_bucket_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Bucket>, Error<()>>

gets configuration of a bucket allocation

Sends a GET request to /allocation/{tenant}/bucket/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: bucket name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_put_by_tenant_bucket_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, body: &'a Bucket, ) -> Result<ResponseValue<()>, Error<()>>

creates bucket configuration.It is impossible to update an existing bucket. This requires a delete of the existing bucket and creation of a new one with the wanted configuration

Sends a PUT request to /allocation/{tenant}/bucket/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: bucket name
  • authorization: Authorization header (bearer token)
  • body: the JSON representation of the resource
Source

pub async fn bucket_delete_by_tenant_bucket_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

deletes a bucket

Sends a DELETE request to /allocation/{tenant}/bucket/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: bucket name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_get_by_tenant_bucket_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Bucket>, Error<()>>

gets actual configuration of a bucket allocation

Sends a GET request to /allocation/{tenant}/bucket/{id}/actual

Arguments:

  • tenant: tenant name
  • id: bucket name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_get_by_tenant_bucket_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>

gets status description of a bucket allocation

Sends a GET request to /allocation/{tenant}/bucket/{id}/status

Arguments:

  • tenant: tenant name
  • id: bucket name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_access_get_by_tenant_bucketaccess<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

lists all bucketaccesses of a tenant

Sends a GET request to /allocation/{tenant}/bucketaccess

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_access_get_by_tenant_bucket_by_id_bucketaccess<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

shows bucketaccesses about a specific bucket

Sends a GET request to /allocation/{tenant}/bucket/{id}/bucketaccess

Arguments:

  • tenant: tenant name
  • id: bucket name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_access_get_by_tenant_bucket_by_id_bucketaccess_by_name<'a>( &'a self, tenant: &'a str, id: &'a str, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<BucketAccessStatus>, Error<()>>

shows overall status of a third party bucket

Sends a GET request to /allocation/{tenant}/bucket/{id}/bucketaccess/{name}

Arguments:

  • tenant: tenant name
  • id: bucket name
  • name: bucket access name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_access_get_by_tenant_bucket_by_id_bucketaccess_by_name_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<BucketAccessConfiguration>, Error<()>>

gets configuration of a bucketaccess allocation

Sends a GET request to /allocation/{tenant}/bucket/{id}/bucketaccess/{name}/configuration

Arguments:

  • tenant: tenant name
  • id: bucket name
  • name: bucket access name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_access_put_by_tenant_bucket_by_id_bucketaccess_by_name_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, name: &'a str, authorization: &'a str, body: &'a BucketAccessConfiguration, ) -> Result<ResponseValue<()>, Error<()>>

creates bucketaccess configuration

Sends a PUT request to /allocation/{tenant}/bucket/{id}/bucketaccess/{name}/configuration

Arguments:

  • tenant: tenant name
  • id: bucket name
  • name: bucket access name
  • authorization: Authorization header (bearer token)
  • body: the wanted config of the (new) bucketaccess allocation
Source

pub async fn bucket_access_delete_by_tenant_bucket_by_id_bucketaccess_by_name_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

deletes a bucketaccess

Sends a DELETE request to /allocation/{tenant}/bucket/{id}/bucketaccess/{name}/configuration

Arguments:

  • tenant: tenant name
  • id: bucket name
  • name: bucket access name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_access_get_by_tenant_bucket_by_id_bucketaccess_by_name_actual<'a>( &'a self, tenant: &'a str, id: &'a str, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<BucketAccess>, Error<()>>

gets actual configuration of a bucketaccess allocation

Sends a GET request to /allocation/{tenant}/bucket/{id}/bucketaccess/{name}/actual

Arguments:

  • tenant: tenant name
  • id: bucket name
  • name: bucket access name
  • authorization: Authorization header (bearer token)
Source

pub async fn bucket_access_get_by_tenant_bucket_by_id_bucketaccess_by_name_status<'a>( &'a self, tenant: &'a str, id: &'a str, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>

gets status description of a bucketaccess allocation

Sends a GET request to /allocation/{tenant}/bucket/{id}/bucketaccess/{name}/status

Arguments:

  • tenant: tenant name
  • id: bucket name
  • name: bucket access name
  • authorization: Authorization header (bearer token)
Source

pub async fn certificate_get_by_tenant_certificate<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

returns a list of all certificate names that are allocated to a tenant

Sends a GET request to /allocation/{tenant}/certificate

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn certificate_get_by_tenant_certificate_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<CertificateStatus>, Error<()>>

returns the status of a specific certificate allocation by id

Sends a GET request to /allocation/{tenant}/certificate/{id}

Arguments:

  • tenant: tenant name
  • id: certificate name
  • authorization: Authorization header (bearer token)
Source

pub async fn certificate_get_by_tenant_certificate_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Certificate>, Error<()>>

returns the configuration of a certificate allocation

Sends a GET request to /allocation/{tenant}/certificate/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: certificate name
  • authorization: Authorization header (bearer token)
Source

pub async fn certificate_put_by_tenant_certificate_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, body: &'a Certificate, ) -> Result<ResponseValue<()>, Error<()>>

create a new certificate. It is impossible to update an existing certificate. This requires a delete of the existing certificate and creation of a new one with the wanted configuration

Sends a PUT request to /allocation/{tenant}/certificate/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: certificate name
  • authorization: Authorization header (bearer token)
  • body: the JSON object containing the configuration of a certificate. certChainSecret and keySecret must be known to the platform.
Source

pub async fn certificate_delete_by_tenant_certificate_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

deletes a certificate by id

Sends a DELETE request to /allocation/{tenant}/certificate/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: certificate name
  • authorization: Authorization header (bearer token)
Source

pub async fn certificate_get_by_tenant_certificate_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Certificate>, Error<()>>

returns the actual configuration of a certificate allocation. This may not represent the wanted configuration

Sends a GET request to /allocation/{tenant}/certificate/{id}/actual

Arguments:

  • tenant: tenant name
  • id: certificate name
  • authorization: Authorization header (bearer token)
Source

pub async fn certificate_get_by_tenant_certificate_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>

returns a brief status description of a certificate allocation

Sends a GET request to /allocation/{tenant}/certificate/{id}/status

Arguments:

  • tenant: tenant name
  • id: certificate name
  • authorization: Authorization header (bearer token)
Source

pub async fn database_get_by_tenant_database<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

(beta release) lists ids of all databases of a tenant

Sends a GET request to /allocation/{tenant}/database

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn database_get_by_tenant_database_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<DatabaseStatus>, Error<()>>

(beta release) gets overall status of a database allocation

Sends a GET request to /allocation/{tenant}/database/{id}

Arguments:

  • tenant: tenant name
  • id: database name
  • authorization: Authorization header (bearer token)
Source

pub async fn database_get_by_tenant_database_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Database>, Error<()>>

(beta release) gets configuration for a database allocation

Sends a GET request to /allocation/{tenant}/database/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: database name
  • authorization: Authorization header (bearer token)
Source

pub async fn database_put_by_tenant_database_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, body: &'a Database, ) -> Result<ResponseValue<()>, Error<()>>

(beta release) creates a database configuration. It is impossible to update an existing database

Sends a PUT request to /allocation/{tenant}/database/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: database name
  • authorization: Authorization header (bearer token)
  • body: the JSON representation of the resource
Source

pub async fn database_delete_by_tenant_database_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

(beta release) deletes a database

Sends a DELETE request to /allocation/{tenant}/database/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: database name
  • authorization: Authorization header (bearer token)
Source

pub async fn database_get_by_tenant_database_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Database>, Error<()>>

(beta release) gets actual state for a database allocation

Sends a GET request to /allocation/{tenant}/database/{id}/actual

Arguments:

  • tenant: tenant name
  • id: database name
  • authorization: Authorization header (bearer token)
Source

pub async fn database_get_by_tenant_database_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>

(beta release) gets status description of a database allocation

Sends a GET request to /allocation/{tenant}/database/{id}/status

Arguments:

  • tenant: tenant name
  • id: database name
  • authorization: Authorization header (bearer token)
Source

pub async fn data_catalog_get_by_tenant_datacatalog_asset_by_kind<'a>( &'a self, tenant: &'a str, kind: DataCatalogGetByTenantDatacatalogAssetByKindKind, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

lists all data catalog assets of a tenant for the given kind

Sends a GET request to /allocation/{tenant}/datacatalog/asset/{kind}

Arguments:

  • tenant: tenant name
  • kind: data catalog asset kind
  • authorization: Authorization header (bearer token)
Source

pub async fn data_catalog_get_by_tenant_datacatalog_asset_by_kind_by_name<'a>( &'a self, tenant: &'a str, kind: DataCatalogGetByTenantDatacatalogAssetByKindByNameKind, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<DataCatalogAssetStatus>, Error<()>>

shows overall status of a datacatalog asset allocation

Sends a GET request to /allocation/{tenant}/datacatalog/asset/{kind}/{name}

Arguments:

  • tenant: tenant name
  • kind: data catalog asset kind
  • name: data catalog asset name
  • authorization: Authorization header (bearer token)
Source

pub async fn data_catalog_get_by_tenant_datacatalog_asset_by_kind_by_name_configuration<'a>( &'a self, tenant: &'a str, kind: DataCatalogGetByTenantDatacatalogAssetByKindByNameConfigurationKind, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<DataCatalogAsset>, Error<()>>

gets configuration of a data catalog asset allocation

Sends a GET request to /allocation/{tenant}/datacatalog/asset/{kind}/{name}/configuration

Arguments:

  • tenant: tenant name
  • kind: data catalog asset kind
  • name: data catalog asset name
  • authorization: Authorization header (bearer token)
Source

pub async fn data_catalog_put_by_tenant_datacatalog_asset_by_kind_by_name_configuration<'a>( &'a self, tenant: &'a str, kind: DataCatalogPutByTenantDatacatalogAssetByKindByNameConfigurationKind, name: &'a str, authorization: &'a str, body: &'a DataCatalogAsset, ) -> Result<ResponseValue<()>, Error<()>>

creates dataCatalogAsset configuration

Sends a PUT request to /allocation/{tenant}/datacatalog/asset/{kind}/{name}/configuration

Arguments:

  • tenant: tenant name
  • kind: data catalog asset kind
  • name: data catalog asset name
  • authorization: Authorization header (bearer token)
  • body: the JSON representation of the resource
Source

pub async fn data_catalog_delete_by_tenant_datacatalog_asset_by_kind_by_name_configuration<'a>( &'a self, tenant: &'a str, kind: DataCatalogDeleteByTenantDatacatalogAssetByKindByNameConfigurationKind, name: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

deletes a dataCatalogAsset

Sends a DELETE request to /allocation/{tenant}/datacatalog/asset/{kind}/{name}/configuration

Arguments:

  • tenant: tenant name
  • kind: data catalog asset kind
  • name: data catalog asset name
  • authorization: Authorization header (bearer token)

returns the overall status of a Flink Cluster

Sends a GET request to /allocation/{tenant}/flinkcluster

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)

returns the configuration of a Flink Cluster

Sends a GET request to /allocation/{tenant}/flinkcluster/configuration

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)

create a new Flink Cluster. It is impossible to update an existing Flink Cluster. This requires a delete of the existing Flink Cluster and creation of a new one with the wanted configuration

Sends a PUT request to /allocation/{tenant}/flinkcluster/configuration

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
  • body: a JSON object containing the desired configuration of the Flink Cluster. Zone must be known to the platform.

deletes a Flink Cluster. Since only one cluster can be created per tenant, only the tenants’ name needs to be specified

Sends a DELETE request to /allocation/{tenant}/flinkcluster/configuration

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)

returns the actual configuration of a Flink Cluster

Sends a GET request to /allocation/{tenant}/flinkcluster/actual

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)

returns a brief status description of a Flink Cluster

Sends a GET request to /allocation/{tenant}/flinkcluster/status

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn kafka_proxy_get_by_tenant_kafkaproxy<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

returns a list of all kafka proxies of a tenant

Sends a GET request to /allocation/{tenant}/kafkaproxy

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn kafka_proxy_get_by_tenant_kafkaproxy_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<KafkaProxy>, Error<()>>

Returns the configuration of a certain kafka Proxy, specified by the tenant name and kafka Proxy name

Sends a GET request to /allocation/{tenant}/kafkaproxy/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: Kafka proxy id
  • authorization: Authorization header (bearer token)
Source

pub async fn kafka_proxy_put_by_tenant_kafkaproxy_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, body: &'a KafkaProxy, ) -> Result<ResponseValue<()>, Error<()>>

update the value of the kafka proxy

Sends a PUT request to /allocation/{tenant}/kafkaproxy/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: Kafka proxy id
  • authorization: Authorization header (bearer token)
  • body: the kafka proxy configuration options
Source

pub async fn kafka_proxy_delete_by_tenant_kafkaproxy_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

deletes a kafka proxy

Sends a DELETE request to /allocation/{tenant}/kafkaproxy/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: Kafka proxy id
  • authorization: Authorization header (bearer token)
Source

pub async fn kafka_proxy_get_by_tenant_kafkaproxy_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<KafkaProxy>, Error<()>>

Returns the actual deployment state of a kafka proxy, specified by the tenant name and kafka proxy name

Sends a GET request to /allocation/{tenant}/kafkaproxy/{id}/actual

Arguments:

  • tenant: tenant name
  • id: Kafka proxy id
  • authorization: Authorization header (bearer token)
Source

pub async fn kafka_proxy_get_by_tenant_kafkaproxy_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>

returns a status description of a kafkaproxy allocation

Sends a GET request to /allocation/{tenant}/kafkaproxy/{id}/status

Arguments:

  • tenant: tenant name
  • id: Kafka proxy id
  • authorization: Authorization header (bearer token)
Source

pub async fn kafka_acl_group_get_by_tenant_aclgroup<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

list tenant Kafka ACL groups

Sends a GET request to /allocation/{tenant}/aclgroup

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn kafka_acl_group_get_by_tenant_aclgroup_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a KafkaAclGroupGetByTenantAclgroupByIdConfigurationId, authorization: &'a str, ) -> Result<ResponseValue<KafkaAclGroup>, Error<()>>

return the configuration of the Kafka ACl group

Sends a GET request to /allocation/{tenant}/aclgroup/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: Kafka ACL group id
  • authorization: Authorization header (bearer token)
Source

pub async fn kafka_acl_group_put_by_tenant_aclgroup_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a KafkaAclGroupPutByTenantAclgroupByIdConfigurationId, authorization: &'a str, body: &'a KafkaAclGroup, ) -> Result<ResponseValue<()>, Error<()>>

creates a new or updates an existing Kafka ACL group

Sends a PUT request to /allocation/{tenant}/aclgroup/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: Kafka ACL group id
  • authorization: Authorization header (bearer token)
  • body: the Kafka ACL group definition
Source

pub async fn kafka_acl_group_delete_by_tenant_aclgroup_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a KafkaAclGroupDeleteByTenantAclgroupByIdConfigurationId, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

deletes a Kafka ACL group

Sends a DELETE request to /allocation/{tenant}/aclgroup/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: Kafka ACL group id
  • authorization: Authorization header (bearer token)
Source

pub async fn robot_post_robot_by_tenant_generate_secret<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ClientSecret>, Error<()>>

generate new client secret for a tenant

Sends a POST request to /robot/{tenant}/generate-secret

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn secret_get_by_tenant_secret<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

returns a list of all secret names of a tenant

Sends a GET request to /allocation/{tenant}/secret

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn secret_post_by_tenant_secret<'a>( &'a self, tenant: &'a str, authorization: &'a str, body: &'a Secret, ) -> Result<ResponseValue<()>, Error<()>>

create a new secret

Sends a POST request to /allocation/{tenant}/secret

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
  • body: a JSON object containing the name and the secret value
Source

pub async fn secret_get_by_tenant_secret_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Empty>, Error<()>>

returns the configuration of a secret allocation

Sends a GET request to /allocation/{tenant}/secret/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: secret name
  • authorization: Authorization header (bearer token)
Source

pub async fn secret_delete_by_tenant_secret_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

deletes a secret

Sends a DELETE request to /allocation/{tenant}/secret/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: secret name
  • authorization: Authorization header (bearer token)
Source

pub async fn secret_get_by_tenant_secret_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Empty>, Error<()>>

returns the actual state of a secret. The response body will always be empty because we cannot share the secret value, but the response code will tell you more about its state

Sends a GET request to /allocation/{tenant}/secret/{id}/actual

Arguments:

  • tenant: tenant name
  • id: secret name
  • authorization: Authorization header (bearer token)
Source

pub async fn secret_get_by_tenant_secret_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>

returns a brief status description of a secret allocation

Sends a GET request to /allocation/{tenant}/secret/{id}/status

Arguments:

  • tenant: tenant name
  • id: secret name
  • authorization: Authorization header (bearer token)
Source

pub async fn secret_get_by_tenant_secret_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ByteStream>, Error<()>>

returns the value of a secret

Sends a GET request to /allocation/{tenant}/secret/{id}

Arguments:

  • tenant: tenant name
  • id: secret name
  • authorization: Authorization header (bearer token)
Source

pub async fn secret_put_by_tenant_secret_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, body: String, ) -> Result<ResponseValue<()>, Error<()>>

update the value of a secret

Sends a PUT request to /allocation/{tenant}/secret/{id}

Arguments:

  • tenant: tenant name
  • id: secret name
  • authorization: Authorization header (bearer token)
  • body: the secret value as a string
Source

pub async fn application_get_by_tenant_task<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

return a list containing the ids of all applications with derived tasks

Sends a GET request to /allocation/{tenant}/task

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn application_get_by_tenant_task_by_appid<'a>( &'a self, tenant: &'a str, appid: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

return a list containing the ids of an application’s derived tasks

Sends a GET request to /allocation/{tenant}/task/{appid}

Arguments:

  • tenant: tenant name
  • appid: application name
  • authorization: Authorization header (bearer token)
Source

pub async fn application_get_by_tenant_task_by_appid_by_id<'a>( &'a self, tenant: &'a str, appid: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<TaskStatus>, Error<()>>

returns overall status of a task

Sends a GET request to /allocation/{tenant}/task/{appid}/{id}

Arguments:

  • tenant: tenant name
  • appid: application name
  • id: task name
  • authorization: Authorization header (bearer token)
Source

pub async fn application_get_by_tenant_task_by_appid_by_id_actual<'a>( &'a self, tenant: &'a str, appid: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Task>, Error<()>>

returns the actual state of a specific task

Sends a GET request to /allocation/{tenant}/task/{appid}/{id}/actual

Arguments:

  • tenant: tenant name
  • appid: application name
  • id: task name
  • authorization: Authorization header (bearer token)
Source

pub async fn application_get_by_tenant_task_by_appid_by_id_status<'a>( &'a self, tenant: &'a str, appid: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>

returns a brief status description of a task

Sends a GET request to /allocation/{tenant}/task/{appid}/{id}/status

Arguments:

  • tenant: tenant name
  • appid: application name
  • id: task name
  • authorization: Authorization header (bearer token)
Source

pub async fn third_party_bucket_get_by_tenant_bucket_fromthirdparty<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

lists only bucket names of a tenant that originated from a third party bucket

Sends a GET request to /allocation/{tenant}/bucket/fromthirdparty

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn third_party_bucket_get_by_tenant_thirdpartybucketconcession<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

list summaries of third party buckets, registered using credentials shared to you by a third party

Sends a GET request to /allocation/{tenant}/thirdpartybucketconcession

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn third_party_bucket_post_by_tenant_thirdpartybucketconcession<'a>( &'a self, tenant: &'a str, authorization: &'a str, body: &'a ThirdPartyBucketConcessionRegistration, ) -> Result<ResponseValue<()>, Error<()>>

register a new bucket concession for which credentials were shared to you by a third party

Sends a POST request to /allocation/{tenant}/thirdpartybucketconcession

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
  • body: the secret value
Source

pub async fn third_party_bucket_get_by_tenant_thirdpartybucketconcession_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ThirdPartyBucketConcessionStatus>, Error<()>>

shows overall status of a third party bucket

Sends a GET request to /allocation/{tenant}/thirdpartybucketconcession/{id}

Arguments:

  • tenant: tenant name
  • id: your name of choice for the third party bucket
  • authorization: Authorization header (bearer token)
Source

pub async fn third_party_bucket_get_by_tenant_thirdpartybucketconcession_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ThirdPartyBucketConcessionConfiguration>, Error<()>>

gets configuration of a third party bucket (received bucket access) allocation

Sends a GET request to /allocation/{tenant}/thirdpartybucketconcession/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: your name of choice for the third party bucket
  • authorization: Authorization header (bearer token)
Source

pub async fn third_party_bucket_delete_by_tenant_thirdpartybucketconcession_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

unregisters a third party bucket. This will also remove the virtual bucket

Sends a DELETE request to /allocation/{tenant}/thirdpartybucketconcession/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: your name of choice for the third party bucket
  • authorization: Authorization header (bearer token)
Source

pub async fn third_party_bucket_get_by_tenant_thirdpartybucketconcession_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ThirdPartyBucketConcession>, Error<()>>

gets actual configuration of a third party bucket (received bucket access) allocation

Sends a GET request to /allocation/{tenant}/thirdpartybucketconcession/{id}/actual

Arguments:

  • tenant: tenant name
  • id: your name of choice for the third party bucket
  • authorization: Authorization header (bearer token)
Source

pub async fn third_party_bucket_get_by_tenant_thirdpartybucketconcession_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>

gets status description of third party bucket (received bucket access) allocation

Sends a GET request to /allocation/{tenant}/thirdpartybucketconcession/{id}/status

Arguments:

  • tenant: tenant name
  • id: your name of choice for the third party bucket
  • authorization: Authorization header (bearer token)
Source

pub async fn topic_get_by_tenant_topic<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

returns a list of topics of a tenant

Sends a GET request to /allocation/{tenant}/topic

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn topic_get_by_tenant_topic_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<TopicStatus>, Error<()>>

returns the overall status of a topic allocation

Sends a GET request to /allocation/{tenant}/topic/{id}

Arguments:

  • tenant: tenant name
  • id: topic name
  • authorization: Authorization header (bearer token)
Source

pub async fn topic_get_by_tenant_topic_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Topic>, Error<()>>

returns the configuration of a topic allocation

Sends a GET request to /allocation/{tenant}/topic/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: topic name
  • authorization: Authorization header (bearer token)
Source

pub async fn topic_put_by_tenant_topic_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, body: &'a Topic, ) -> Result<ResponseValue<()>, Error<()>>

create a new topic. It is impossible to update an existing topic. This requires a delete of the existing topic and creation of a new one with the wanted configuration

Sends a PUT request to /allocation/{tenant}/topic/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: topic name
  • authorization: Authorization header (bearer token)
  • body: the JSON object containing the configuration of the desired topic
Source

pub async fn topic_delete_by_tenant_topic_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

deletes a topic

Sends a DELETE request to /allocation/{tenant}/topic/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: topic name
  • authorization: Authorization header (bearer token)
Source

pub async fn topic_get_by_tenant_topic_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Topic>, Error<()>>

returns actual configuration of a topic allocation

Sends a GET request to /allocation/{tenant}/topic/{id}/actual

Arguments:

  • tenant: tenant name
  • id: topic name
  • authorization: Authorization header (bearer token)
Source

pub async fn topic_get_by_tenant_topic_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>

returns a brief status description of a topic allocation

Sends a GET request to /allocation/{tenant}/topic/{id}/status

Arguments:

  • tenant: tenant name
  • id: topic name
  • authorization: Authorization header (bearer token)
Source

pub async fn volume_get_by_tenant_volume<'a>( &'a self, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

returns a list containing the ids of all volumes of a given tenant

Sends a GET request to /allocation/{tenant}/volume

Arguments:

  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn volume_get_by_tenant_volume_by_id<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<VolumeStatus>, Error<()>>

returns the overall status of a volume allocation

Sends a GET request to /allocation/{tenant}/volume/{id}

Arguments:

  • tenant: tenant name
  • id: volume name
  • authorization: Authorization header (bearer token)
Source

pub async fn volume_get_by_tenant_volume_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Volume>, Error<()>>

returns the configuration for a volume allocation

Sends a GET request to /allocation/{tenant}/volume/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: volume name
  • authorization: Authorization header (bearer token)
Source

pub async fn volume_put_by_tenant_volume_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, body: &'a Volume, ) -> Result<ResponseValue<()>, Error<()>>

create a new volume configuration. It is impossible to update an existing volume. This requires a delete of the existing volume and creation of a new one with the wanted configuration

Sends a PUT request to /allocation/{tenant}/volume/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: volume name
  • authorization: Authorization header (bearer token)
  • body: the JSON object containing the desired configuration of a volume allocation
Source

pub async fn volume_delete_by_tenant_volume_by_id_configuration<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

deletes a volume

Sends a DELETE request to /allocation/{tenant}/volume/{id}/configuration

Arguments:

  • tenant: tenant name
  • id: volume name
  • authorization: Authorization header (bearer token)
Source

pub async fn volume_get_by_tenant_volume_by_id_actual<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Volume>, Error<()>>

returns the actual state for a volume allocation

Sends a GET request to /allocation/{tenant}/volume/{id}/actual

Arguments:

  • tenant: tenant name
  • id: volume name
  • authorization: Authorization header (bearer token)
Source

pub async fn volume_get_by_tenant_volume_by_id_status<'a>( &'a self, tenant: &'a str, id: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>

returns a brief status description of a volume allocation

Sends a GET request to /allocation/{tenant}/volume/{id}/status

Arguments:

  • tenant: tenant name
  • id: volume name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_tenant_get_manage_by_manager_tenant<'a>( &'a self, manager: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ChildList>, Error<()>>

returns a list of tenants managed by the manager tenant

Sends a GET request to /manage/{manager}/tenant

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_tenant_get_manage_by_manager_tenant_by_tenant_configuration<'a>( &'a self, manager: &'a str, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ManagedTenant>, Error<()>>

returns the configuration of tenant as managed by the manager

Sends a GET request to /manage/{manager}/tenant/{tenant}/configuration

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_tenant_put_manage_by_manager_tenant_by_tenant_configuration<'a>( &'a self, manager: &'a str, tenant: &'a str, authorization: &'a str, body: &'a ManagedTenant, ) -> Result<ResponseValue<()>, Error<()>>

creates and/or updates a managed tenant for managing tenant or update its configuration

Sends a PUT request to /manage/{manager}/tenant/{tenant}/configuration

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
  • body: the JSON object containing the configuration of the managed tenant
Source

pub async fn managed_tenant_delete_manage_by_manager_tenant_by_tenant_configuration<'a>( &'a self, manager: &'a str, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

deletes a managed tenant for the managing tenant

Sends a DELETE request to /manage/{manager}/tenant/{tenant}/configuration

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_tenant_get_manage_by_manager_tenant_by_tenant_actual<'a>( &'a self, manager: &'a str, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<ManagedTenant>, Error<()>>

returns the actual state for a managed tenant allocation

Sends a GET request to /manage/{manager}/tenant/{tenant}/actual

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_tenant_get_manage_by_manager_tenant_by_tenant_status<'a>( &'a self, manager: &'a str, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<AllocationStatus>, Error<()>>

returns a brief status description of a managed tenant allocation

Sends a GET request to /manage/{manager}/tenant/{tenant}/status

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_tenant_limits_get_manage_by_manager_tenant_by_tenant_limit<'a>( &'a self, manager: &'a str, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Vec<LimitValue>>, Error<()>>

get all limits of a managed tenant

Sends a GET request to /manage/{manager}/tenant/{tenant}/limit

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_tenant_limits_patch_manage_by_manager_tenant_by_tenant_limit<'a>( &'a self, manager: &'a str, tenant: &'a str, authorization: &'a str, body: &'a Vec<LimitValue>, ) -> Result<ResponseValue<()>, Error<()>>

update multiple limits of a managed tenant

Sends a PATCH request to /manage/{manager}/tenant/{tenant}/limit

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
  • body: a JSON list with multiple limits of the managed tenant
Source

pub async fn managed_tenant_limits_get_manage_by_manager_tenant_by_tenant_limit_by_kind<'a>( &'a self, manager: &'a str, tenant: &'a str, kind: ManagedTenantLimitsGetManageByManagerTenantByTenantLimitByKindKind, authorization: &'a str, ) -> Result<ResponseValue<LimitValue>, Error<()>>

get a specific managed tenant limit set by the managing tenant

Sends a GET request to /manage/{manager}/tenant/{tenant}/limit/{kind}

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • tenant: tenant name
  • kind: Limit request type
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_tenant_limits_put_manage_by_manager_tenant_by_tenant_limit_by_kind<'a>( &'a self, manager: &'a str, tenant: &'a str, kind: ManagedTenantLimitsPutManageByManagerTenantByTenantLimitByKindKind, authorization: &'a str, body: &'a LimitValue, ) -> Result<ResponseValue<()>, Error<()>>

create and/or update the configured limits for a managed tenant

Sends a PUT request to /manage/{manager}/tenant/{tenant}/limit/{kind}

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • tenant: tenant name
  • kind: Limit request type
  • authorization: Authorization header (bearer token)
  • body: the JSON object containing the limit configuration of the managed tenant
Source

pub async fn managed_streams_get_manage_by_manager_stream_internal<'a>( &'a self, manager: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Vec<ManagedStreamId>>, Error<()>>

get a list of internal streams managed by the managing tenant

Sends a GET request to /manage/{manager}/stream/internal

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_get_manage_by_manager_stream_public<'a>( &'a self, manager: &'a str, authorization: &'a str, ) -> Result<ResponseValue<Vec<ManagedStreamId>>, Error<()>>

get a list of public streams managed by the managing tenant

Sends a GET request to /manage/{manager}/stream/public

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_get_manage_by_manager_stream_public_by_streamid_configuration<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<PublicManagedStream>, Error<()>>

Get the configuration for a public managed stream

Sends a GET request to /manage/{manager}/stream/public/{streamId}/configuration

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_post_manage_by_manager_stream_public_by_streamid_configuration<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, body: &'a PublicManagedStream, ) -> Result<ResponseValue<()>, Error<()>>

Create a public managed stream

Sends a POST request to /manage/{manager}/stream/public/{streamId}/configuration

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • authorization: Authorization header (bearer token)
  • body
Source

pub async fn managed_streams_delete_manage_by_manager_stream_public_by_streamid_configuration<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

Delete a public managed stream

Sends a DELETE request to /manage/{manager}/stream/public/{streamId}/configuration

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_get_manage_by_manager_stream_internal_by_streamid_configuration<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<ManagedStream>, Error<()>>

Get the configuration for an internal managed stream

Sends a GET request to /manage/{manager}/stream/internal/{streamId}/configuration

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_post_manage_by_manager_stream_internal_by_streamid_configuration<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, body: &'a ManagedStream, ) -> Result<ResponseValue<()>, Error<()>>

Create an internal managed stream

Sends a POST request to /manage/{manager}/stream/internal/{streamId}/configuration

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • authorization: Authorization header (bearer token)
  • body
Source

pub async fn managed_streams_delete_manage_by_manager_stream_internal_by_streamid_configuration<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

Delete an internal managed stream

Sends a DELETE request to /manage/{manager}/stream/internal/{streamId}/configuration

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_get_manage_by_manager_stream_internal_by_streamid_access_write<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<Vec<String>>, Error<()>>

get a list of all tenants that have write access to the internal stream

Sends a GET request to /manage/{manager}/stream/internal/{streamId}/access/write

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_put_manage_by_manager_stream_internal_by_streamid_access_write_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

Grant the tenant write access to the internal stream

Sends a PUT request to /manage/{manager}/stream/internal/{streamId}/access/write/{tenant}

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_delete_manage_by_manager_stream_internal_by_streamid_access_write_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

Revoke write access for the tenant on the internal stream

Sends a DELETE request to /manage/{manager}/stream/internal/{streamId}/access/write/{tenant}

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_head_manage_by_manager_stream_internal_by_streamid_access_write_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

Check whether the tenant has write access to the internal stream

Sends a HEAD request to /manage/{manager}/stream/internal/{streamId}/access/write/{tenant}

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_get_manage_by_manager_stream_internal_by_streamid_access_read<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<Vec<String>>, Error<()>>

get a list of all tenants that have read access to the internal stream

Sends a GET request to /manage/{manager}/stream/internal/{streamId}/access/read

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_put_manage_by_manager_stream_internal_by_streamid_access_read_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

Grant the tenant write access to the internal stream

Sends a PUT request to /manage/{manager}/stream/internal/{streamId}/access/read/{tenant}

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_delete_manage_by_manager_stream_internal_by_streamid_access_read_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

Revoke read access for the tenant on the internal stream

Sends a DELETE request to /manage/{manager}/stream/internal/{streamId}/access/read/{tenant}

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_head_manage_by_manager_stream_internal_by_streamid_access_read_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

Check whether the tenant has read access to the internal stream

Sends a HEAD request to /manage/{manager}/stream/internal/{streamId}/access/read/{tenant}

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_get_manage_by_manager_stream_public_by_streamid_access_write<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<Vec<String>>, Error<()>>

get a list of all tenants that have write access to the public stream

Sends a GET request to /manage/{manager}/stream/public/{streamId}/access/write

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_put_manage_by_manager_stream_public_by_streamid_access_write_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

Grant the tenant write access to the public stream

Sends a PUT request to /manage/{manager}/stream/public/{streamId}/access/write/{tenant}

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_delete_manage_by_manager_stream_public_by_streamid_access_write_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

Revoke write access for the tenant on the public stream

Sends a DELETE request to /manage/{manager}/stream/public/{streamId}/access/write/{tenant}

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_head_manage_by_manager_stream_public_by_streamid_access_write_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

Check whether the tenant has write access to the public stream

Sends a HEAD request to /manage/{manager}/stream/public/{streamId}/access/write/{tenant}

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_get_manage_by_manager_stream_public_by_streamid_access_read<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, authorization: &'a str, ) -> Result<ResponseValue<Vec<String>>, Error<()>>

get a list of all tenants that have read access to the public stream

Sends a GET request to /manage/{manager}/stream/public/{streamId}/access/read

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_put_manage_by_manager_stream_public_by_streamid_access_read_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

Grant the tenant write access to the stream

Sends a PUT request to /manage/{manager}/stream/public/{streamId}/access/read/{tenant}

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_delete_manage_by_manager_stream_public_by_streamid_access_read_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

Revoke read access for the tenant on the public stream

Sends a DELETE request to /manage/{manager}/stream/public/{streamId}/access/read/{tenant}

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • tenant: tenant name
  • authorization: Authorization header (bearer token)
Source

pub async fn managed_streams_access_head_manage_by_manager_stream_public_by_streamid_access_read_by_tenant<'a>( &'a self, manager: &'a str, stream_id: &'a ManagedStreamId, tenant: &'a str, authorization: &'a str, ) -> Result<ResponseValue<()>, Error<()>>

Check whether the tenant has read access to the public stream

Sends a HEAD request to /manage/{manager}/stream/public/{streamId}/access/read/{tenant}

Arguments:

  • manager: Name of the tenant that is acting as manager for this request
  • stream_id: id of the managed stream, including the type prefix
  • tenant: tenant name
  • authorization: Authorization header (bearer token)

Trait Implementations§

Source§

impl Clone for Client

Source§

fn clone(&self) -> Client

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Client

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl Freeze for Client

§

impl !RefUnwindSafe for Client

§

impl Send for Client

§

impl Sync for Client

§

impl Unpin for Client

§

impl !UnwindSafe for Client

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

impl<T> ErasedDestructor for T
where T: 'static,