pub struct TestWebhookResponse {
pub success: bool,
pub status_code: u16,
pub response_time_ms: u64,
pub error: Option<String>,
}Expand description
Test webhook response
Fields§
§success: bool§status_code: u16§response_time_ms: u64§error: Option<String>Trait Implementations§
Source§impl Clone for TestWebhookResponse
impl Clone for TestWebhookResponse
Source§fn clone(&self) -> TestWebhookResponse
fn clone(&self) -> TestWebhookResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TestWebhookResponse
impl Debug for TestWebhookResponse
Source§impl<'de> Deserialize<'de> for TestWebhookResponse
impl<'de> Deserialize<'de> for TestWebhookResponse
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 TestWebhookResponse
impl RefUnwindSafe for TestWebhookResponse
impl Send for TestWebhookResponse
impl Sync for TestWebhookResponse
impl Unpin for TestWebhookResponse
impl UnsafeUnpin for TestWebhookResponse
impl UnwindSafe for TestWebhookResponse
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