pub struct ReasonRetryData {
pub reason_class: Option<String>,
pub retry_count: Option<i16>,
pub reason: Option<String>,
}Expand description
protocol.message.{failed,deferred} — { reason_class, retry_count }.
Both events share this shape (plan §2.3); the reason_class enum is
classified client-side (Appendix B — 21 buckets at SDK 0.24.1, the
original twelve retained so older rows keep their meaning) and arrives as
a string. The column is free TEXT with no CHECK, so a client that grows
a bucket needs no migration here.
Fields§
§reason_class: Option<String>§retry_count: Option<i16>§reason: Option<String>The SDK’s own fixed reason token or literal, verbatim. Additive over
wire v1: the SDK sends it in place of classifying on the device, and
reason_class is derived from it server-side. Absent from batches
produced by the earlier TypeScript client, so it stays optional.
Trait Implementations§
Source§impl Clone for ReasonRetryData
impl Clone for ReasonRetryData
Source§fn clone(&self) -> ReasonRetryData
fn clone(&self) -> ReasonRetryData
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 ReasonRetryData
impl Debug for ReasonRetryData
Source§impl Default for ReasonRetryData
impl Default for ReasonRetryData
Source§fn default() -> ReasonRetryData
fn default() -> ReasonRetryData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReasonRetryData
impl<'de> Deserialize<'de> for ReasonRetryData
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 ReasonRetryData
impl RefUnwindSafe for ReasonRetryData
impl Send for ReasonRetryData
impl Sync for ReasonRetryData
impl Unpin for ReasonRetryData
impl UnsafeUnpin for ReasonRetryData
impl UnwindSafe for ReasonRetryData
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