pub struct RetryPart {
pub id: String,
pub session_id: String,
pub message_id: String,
pub attempt: f64,
pub error: Value,
pub time: RetryPartTime,
}Expand description
A retry part within a message, indicating a failed attempt.
Fields§
§id: StringUnique part identifier.
session_id: StringThe session this part belongs to.
message_id: StringThe message this part belongs to.
attempt: f64The attempt number.
error: ValueThe error that occurred.
time: RetryPartTimeTiming information.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RetryPart
impl<'de> Deserialize<'de> for RetryPart
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 RetryPart
Auto Trait Implementations§
impl Freeze for RetryPart
impl RefUnwindSafe for RetryPart
impl Send for RetryPart
impl Sync for RetryPart
impl Unpin for RetryPart
impl UnwindSafe for RetryPart
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