pub trait OrganizationKeysApi: Send + Sync {
// Required method
fn set_organization_key_id<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
set_organization_key_id_request: SetOrganizationKeyIdRequest,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait;
}Required Methods§
Sourcefn set_organization_key_id<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
set_organization_key_id_request: SetOrganizationKeyIdRequest,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
fn set_organization_key_id<'a, 'life0, 'async_trait>(
&'life0 self,
org_id: Uuid,
set_organization_key_id_request: SetOrganizationKeyIdRequest,
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'a: 'async_trait,
'life0: 'async_trait,
POST /organizations/{orgId}/keys/organization-key-id Reports the key id of the organization’s current organization key, to backfill organizations without one. Only Owners and Admins who hold the organization key can call this endpoint.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".