pub struct WebhookVerifyParams {
pub id: String,
pub payload: String,
pub secret: String,
pub signature: String,
pub timestamp: String,
pub tolerance: Option<u32>,
}Expand description
Parameters for webhook verification
Fields§
§id: StringWebhook message ID from ‘webhook-id’ header
payload: StringRaw webhook payload as string
secret: StringWebhook secret from Composio dashboard
signature: StringSignature from ‘webhook-signature’ header
timestamp: StringTimestamp from ‘webhook-timestamp’ header
tolerance: Option<u32>Maximum allowed age in seconds (default: 300)
Trait Implementations§
Source§impl Clone for WebhookVerifyParams
impl Clone for WebhookVerifyParams
Source§fn clone(&self) -> WebhookVerifyParams
fn clone(&self) -> WebhookVerifyParams
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 moreSource§impl Debug for WebhookVerifyParams
impl Debug for WebhookVerifyParams
Source§impl<'de> Deserialize<'de> for WebhookVerifyParams
impl<'de> Deserialize<'de> for WebhookVerifyParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WebhookVerifyParams
impl RefUnwindSafe for WebhookVerifyParams
impl Send for WebhookVerifyParams
impl Sync for WebhookVerifyParams
impl Unpin for WebhookVerifyParams
impl UnsafeUnpin for WebhookVerifyParams
impl UnwindSafe for WebhookVerifyParams
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