pub struct WebhookResult {
pub message: InboundMessage,
pub status: u16,
}Expand description
Result of webhook processing, containing both the message and response info.
Fields§
§message: InboundMessageThe parsed inbound message.
status: u16HTTP status to return to the provider’s webhook caller.
Trait Implementations§
Source§impl Clone for WebhookResult
impl Clone for WebhookResult
Source§fn clone(&self) -> WebhookResult
fn clone(&self) -> WebhookResult
Returns a duplicate 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 Freeze for WebhookResult
impl RefUnwindSafe for WebhookResult
impl Send for WebhookResult
impl Sync for WebhookResult
impl Unpin for WebhookResult
impl UnsafeUnpin for WebhookResult
impl UnwindSafe for WebhookResult
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