pub struct WebhookTestResult {
pub success: bool,
pub status_code: i32,
pub response_time_ms: i32,
pub error: Option<String>,
}Expand description
Result from testing a webhook.
Fields§
§success: boolWhether the test was successful.
status_code: i32HTTP status code from the endpoint.
response_time_ms: i32Response time in milliseconds.
error: Option<String>Error message if the test failed.
Trait Implementations§
Source§impl Clone for WebhookTestResult
impl Clone for WebhookTestResult
Source§fn clone(&self) -> WebhookTestResult
fn clone(&self) -> WebhookTestResult
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 WebhookTestResult
impl Debug for WebhookTestResult
Source§impl<'de> Deserialize<'de> for WebhookTestResult
impl<'de> Deserialize<'de> for WebhookTestResult
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 WebhookTestResult
impl RefUnwindSafe for WebhookTestResult
impl Send for WebhookTestResult
impl Sync for WebhookTestResult
impl Unpin for WebhookTestResult
impl UnwindSafe for WebhookTestResult
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