pub struct WebhooksClient<'a> { /* private fields */ }Implementations§
Source§impl<'a> WebhooksClient<'a>
impl<'a> WebhooksClient<'a>
Sourcepub async fn delete_webhooks_by_subscription_id(
&self,
subscription_id: &str,
body: Option<&Value>,
) -> Result<Option<Value>, Box<dyn Error + Send + Sync>>
pub async fn delete_webhooks_by_subscription_id( &self, subscription_id: &str, body: Option<&Value>, ) -> Result<Option<Value>, Box<dyn Error + Send + Sync>>
DELETE DeleteWebhooksBySubscriptionId
Parameters:
- subscription_id (str): Path parameter subscriptionId
Sourcepub async fn get_webhooks(
&self,
body: Option<&Value>,
) -> Result<Option<Value>, Box<dyn Error + Send + Sync>>
pub async fn get_webhooks( &self, body: Option<&Value>, ) -> Result<Option<Value>, Box<dyn Error + Send + Sync>>
GET GetWebhooks
Parameters:
Sourcepub async fn update_webhooks_disable_by_subscription_id(
&self,
subscription_id: &str,
body: Option<&Value>,
) -> Result<Option<Value>, Box<dyn Error + Send + Sync>>
pub async fn update_webhooks_disable_by_subscription_id( &self, subscription_id: &str, body: Option<&Value>, ) -> Result<Option<Value>, Box<dyn Error + Send + Sync>>
PUT UpdateDisableBySubscriptionId
Parameters:
- subscription_id (str): Path parameter subscriptionId
- body (Option<&Value>): Request body
Sourcepub async fn update_webhooks_enable_by_subscription_id(
&self,
subscription_id: &str,
body: Option<&Value>,
) -> Result<Option<Value>, Box<dyn Error + Send + Sync>>
pub async fn update_webhooks_enable_by_subscription_id( &self, subscription_id: &str, body: Option<&Value>, ) -> Result<Option<Value>, Box<dyn Error + Send + Sync>>
PUT UpdateEnableBySubscriptionId
Parameters:
- subscription_id (str): Path parameter subscriptionId
- body (Option<&Value>): Request body
Auto Trait Implementations§
impl<'a> Freeze for WebhooksClient<'a>
impl<'a> !RefUnwindSafe for WebhooksClient<'a>
impl<'a> Send for WebhooksClient<'a>
impl<'a> Sync for WebhooksClient<'a>
impl<'a> Unpin for WebhooksClient<'a>
impl<'a> UnsafeUnpin for WebhooksClient<'a>
impl<'a> !UnwindSafe for WebhooksClient<'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