pub struct TestWebhookEndpointResponse {
pub success: Option<bool>,
pub timestamp: String,
pub status_code: i32,
pub reason: String,
pub detail: String,
}
Fields§
§success: Option<bool>
Result of the communication from the LINE platform to the webhook URL.
timestamp: String
Time of the event in milliseconds. Even in the case of a redelivered webhook, it represents the time the event occurred, not the time it was redelivered.
status_code: i32
The HTTP status code. If the webhook response isn’t received, the status code is set to zero or a negative number.
reason: String
Reason for the response.
detail: String
Details of the response.
Implementations§
Trait Implementations§
Source§impl Clone for TestWebhookEndpointResponse
impl Clone for TestWebhookEndpointResponse
Source§fn clone(&self) -> TestWebhookEndpointResponse
fn clone(&self) -> TestWebhookEndpointResponse
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 moreSource§impl Debug for TestWebhookEndpointResponse
impl Debug for TestWebhookEndpointResponse
Source§impl Default for TestWebhookEndpointResponse
impl Default for TestWebhookEndpointResponse
Source§fn default() -> TestWebhookEndpointResponse
fn default() -> TestWebhookEndpointResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TestWebhookEndpointResponse
impl<'de> Deserialize<'de> for TestWebhookEndpointResponse
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
impl StructuralPartialEq for TestWebhookEndpointResponse
Auto Trait Implementations§
impl Freeze for TestWebhookEndpointResponse
impl RefUnwindSafe for TestWebhookEndpointResponse
impl Send for TestWebhookEndpointResponse
impl Sync for TestWebhookEndpointResponse
impl Unpin for TestWebhookEndpointResponse
impl UnwindSafe for TestWebhookEndpointResponse
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