pub struct MessageAttemptOut {
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 MessageAttemptOut
impl MessageAttemptOut
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, ) -> MessageAttemptOut
Trait Implementations§
Source§impl Clone for MessageAttemptOut
impl Clone for MessageAttemptOut
Source§fn clone(&self) -> MessageAttemptOut
fn clone(&self) -> MessageAttemptOut
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 MessageAttemptOut
impl Debug for MessageAttemptOut
Source§impl Default for MessageAttemptOut
impl Default for MessageAttemptOut
Source§fn default() -> MessageAttemptOut
fn default() -> MessageAttemptOut
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageAttemptOut
impl<'de> Deserialize<'de> for MessageAttemptOut
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
Source§impl PartialEq for MessageAttemptOut
impl PartialEq for MessageAttemptOut
Source§impl Serialize for MessageAttemptOut
impl Serialize for MessageAttemptOut
impl StructuralPartialEq for MessageAttemptOut
Auto Trait Implementations§
impl Freeze for MessageAttemptOut
impl RefUnwindSafe for MessageAttemptOut
impl Send for MessageAttemptOut
impl Sync for MessageAttemptOut
impl Unpin for MessageAttemptOut
impl UnwindSafe for MessageAttemptOut
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