pub struct MessageAttemptEndpointOut {
pub endpoint_id: String,
pub id: String,
pub msg: Option<Box<MessageOut>>,
pub msg_id: String,
pub response: String,
pub response_duration_ms: i64,
pub response_status_code: i32,
pub status: MessageStatus,
pub timestamp: String,
pub trigger_type: MessageAttemptTriggerType,
pub url: String,
}
Fields§
§endpoint_id: String
The ep’s ID
id: String
The attempt’s ID
msg: Option<Box<MessageOut>>
§msg_id: String
The msg’s ID
response: String
§response_duration_ms: i64
Response duration in milliseconds.
response_status_code: i32
§status: MessageStatus
§timestamp: String
§trigger_type: MessageAttemptTriggerType
§url: String
Implementations§
Source§impl MessageAttemptEndpointOut
impl MessageAttemptEndpointOut
pub fn new( endpoint_id: String, id: String, msg_id: String, response: String, response_duration_ms: i64, response_status_code: i32, status: MessageStatus, timestamp: String, trigger_type: MessageAttemptTriggerType, url: String, ) -> MessageAttemptEndpointOut
Trait Implementations§
Source§impl Clone for MessageAttemptEndpointOut
impl Clone for MessageAttemptEndpointOut
Source§fn clone(&self) -> MessageAttemptEndpointOut
fn clone(&self) -> MessageAttemptEndpointOut
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 MessageAttemptEndpointOut
impl Debug for MessageAttemptEndpointOut
Source§impl Default for MessageAttemptEndpointOut
impl Default for MessageAttemptEndpointOut
Source§fn default() -> MessageAttemptEndpointOut
fn default() -> MessageAttemptEndpointOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageAttemptEndpointOut
impl<'de> Deserialize<'de> for MessageAttemptEndpointOut
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 MessageAttemptEndpointOut
Auto Trait Implementations§
impl Freeze for MessageAttemptEndpointOut
impl RefUnwindSafe for MessageAttemptEndpointOut
impl Send for MessageAttemptEndpointOut
impl Sync for MessageAttemptEndpointOut
impl Unpin for MessageAttemptEndpointOut
impl UnwindSafe for MessageAttemptEndpointOut
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