Struct livekit_api::webhooks::WebhookReceiver
source · pub struct WebhookReceiver { /* private fields */ }Implementations§
source§impl WebhookReceiver
impl WebhookReceiver
pub fn new(token_verifier: TokenVerifier) -> Self
pub fn receive( &self, body: &str, auth_token: &str ) -> Result<WebhookEvent, WebhookError>
Trait Implementations§
source§impl Clone for WebhookReceiver
impl Clone for WebhookReceiver
source§fn clone(&self) -> WebhookReceiver
fn clone(&self) -> WebhookReceiver
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 moreAuto Trait Implementations§
impl RefUnwindSafe for WebhookReceiver
impl Send for WebhookReceiver
impl Sync for WebhookReceiver
impl Unpin for WebhookReceiver
impl UnwindSafe for WebhookReceiver
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