pub struct Integration<'a> { /* private fields */ }
Implementations§
Source§impl<'a> Integration<'a>
impl<'a> Integration<'a>
Sourcepub async fn list(
&self,
app_id: String,
options: Option<IntegrationListOptions>,
) -> Result<ListResponseIntegrationOut>
pub async fn list( &self, app_id: String, options: Option<IntegrationListOptions>, ) -> Result<ListResponseIntegrationOut>
List the application’s integrations.
Sourcepub async fn create(
&self,
app_id: String,
integration_in: IntegrationIn,
options: Option<PostOptions>,
) -> Result<IntegrationOut>
pub async fn create( &self, app_id: String, integration_in: IntegrationIn, options: Option<PostOptions>, ) -> Result<IntegrationOut>
Create an integration.
Sourcepub async fn get(
&self,
app_id: String,
integ_id: String,
) -> Result<IntegrationOut>
pub async fn get( &self, app_id: String, integ_id: String, ) -> Result<IntegrationOut>
Get an integration.
Sourcepub async fn update(
&self,
app_id: String,
integ_id: String,
integration_update: IntegrationUpdate,
) -> Result<IntegrationOut>
pub async fn update( &self, app_id: String, integ_id: String, integration_update: IntegrationUpdate, ) -> Result<IntegrationOut>
Update an integration.
Sourcepub async fn delete(&self, app_id: String, integ_id: String) -> Result<()>
pub async fn delete(&self, app_id: String, integ_id: String) -> Result<()>
Delete an integration.
Sourcepub async fn get_key(
&self,
app_id: String,
integ_id: String,
) -> Result<IntegrationKeyOut>
pub async fn get_key( &self, app_id: String, integ_id: String, ) -> Result<IntegrationKeyOut>
Get an integration’s key.
Sourcepub async fn rotate_key(
&self,
app_id: String,
integ_id: String,
) -> Result<IntegrationKeyOut>
pub async fn rotate_key( &self, app_id: String, integ_id: String, ) -> Result<IntegrationKeyOut>
Rotate the integration’s key. The previous key will be immediately revoked.
Auto Trait Implementations§
impl<'a> Freeze for Integration<'a>
impl<'a> !RefUnwindSafe for Integration<'a>
impl<'a> Send for Integration<'a>
impl<'a> Sync for Integration<'a>
impl<'a> Unpin for Integration<'a>
impl<'a> !UnwindSafe for Integration<'a>
Blanket Implementations§
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