pub struct WebhooksClient { /* private fields */ }
Implementations§
Source§impl WebhooksClient
impl WebhooksClient
pub fn new(api_options: DfnsApiClientOptions) -> Self
pub async fn create_webhook( &self, request: CreateWebhookRequest, ) -> Result<CreateWebhookResponse, DfnsError>
pub async fn delete_webhook( &self, request: DeleteWebhookRequest, ) -> Result<DeleteWebhookResponse, DfnsError>
pub async fn get_webhook( &self, request: GetWebhookRequest, ) -> Result<GetWebhookResponse, DfnsError>
pub async fn get_webhook_event( &self, request: GetWebhookEventRequest, ) -> Result<GetWebhookEventResponse, DfnsError>
pub async fn list_webhook_events( &self, request: ListWebhookEventsRequest, ) -> Result<ListWebhookEventsResponse, DfnsError>
pub async fn list_webhooks( &self, request: Option<ListWebhooksRequest>, ) -> Result<ListWebhooksResponse, DfnsError>
pub async fn ping_webhook( &self, request: PingWebhookRequest, ) -> Result<PingWebhookResponse, DfnsError>
pub async fn update_webhook( &self, request: UpdateWebhookRequest, ) -> Result<UpdateWebhookResponse, DfnsError>
Trait Implementations§
Source§impl Clone for WebhooksClient
impl Clone for WebhooksClient
Source§fn clone(&self) -> WebhooksClient
fn clone(&self) -> WebhooksClient
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WebhooksClient
impl Debug for WebhooksClient
Source§impl PartialEq for WebhooksClient
impl PartialEq for WebhooksClient
impl StructuralPartialEq for WebhooksClient
Auto Trait Implementations§
impl Freeze for WebhooksClient
impl !RefUnwindSafe for WebhooksClient
impl Send for WebhooksClient
impl Sync for WebhooksClient
impl Unpin for WebhooksClient
impl !UnwindSafe for WebhooksClient
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