pub struct DelegatedWebhooksClient { /* private fields */ }Implementations§
Source§impl DelegatedWebhooksClient
impl DelegatedWebhooksClient
pub fn new(api_options: DfnsDelegatedApiClientOptions) -> Self
pub async fn create_webhook_init( &self, request: CreateWebhookRequest, ) -> Result<UserActionChallenge, DfnsError>
pub async fn create_webhook_complete( &self, request: CreateWebhookRequest, signed_challenge: SignUserActionChallengeRequest, ) -> Result<CreateWebhookResponse, DfnsError>
pub async fn delete_webhook_init( &self, request: DeleteWebhookRequest, ) -> Result<UserActionChallenge, DfnsError>
pub async fn delete_webhook_complete( &self, request: DeleteWebhookRequest, signed_challenge: SignUserActionChallengeRequest, ) -> 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_init( &self, request: PingWebhookRequest, ) -> Result<UserActionChallenge, DfnsError>
pub async fn ping_webhook_complete( &self, request: PingWebhookRequest, signed_challenge: SignUserActionChallengeRequest, ) -> Result<PingWebhookResponse, DfnsError>
pub async fn update_webhook_init( &self, request: UpdateWebhookRequest, ) -> Result<UserActionChallenge, DfnsError>
pub async fn update_webhook_complete( &self, request: UpdateWebhookRequest, signed_challenge: SignUserActionChallengeRequest, ) -> Result<UpdateWebhookResponse, DfnsError>
Auto Trait Implementations§
impl Freeze for DelegatedWebhooksClient
impl RefUnwindSafe for DelegatedWebhooksClient
impl Send for DelegatedWebhooksClient
impl Sync for DelegatedWebhooksClient
impl Unpin for DelegatedWebhooksClient
impl UnwindSafe for DelegatedWebhooksClient
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