#[async_trait::async_trait]
pub trait PublicCertificateAuthorityService: std::fmt::Debug + Send + Sync {
async fn create_external_account_key(
&self,
req: crate::model::CreateExternalAccountKeyRequest,
options: crate::RequestOptions,
) -> crate::Result<crate::Response<crate::model::ExternalAccountKey>>;
}
#[async_trait::async_trait]
impl<T: super::PublicCertificateAuthorityService> PublicCertificateAuthorityService for T {
async fn create_external_account_key(
&self,
req: crate::model::CreateExternalAccountKeyRequest,
options: crate::RequestOptions,
) -> crate::Result<crate::Response<crate::model::ExternalAccountKey>> {
T::create_external_account_key(self, req, options).await
}
}