#[non_exhaustive]pub struct StatusAttempt {
pub system: String,
pub operation: String,
pub attempt: u32,
pub next_attempt: Option<u32>,
pub max_attempts: Option<u32>,
pub retry_delay_ms: Option<u64>,
pub error_kind: Option<String>,
pub http_status: Option<u16>,
}Expand description
toolCall.statusAttempt: the latest TaskExternalAttemptDetail,
field-for-field — countdown inputs the client renders the tick from, so no
event spam.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.system: StringThe external system (durable vocabulary, verbatim).
operation: StringThe operation (durable vocabulary, verbatim).
attempt: u32The attempt number.
next_attempt: Option<u32>The scheduled next attempt, when known.
max_attempts: Option<u32>The maximum attempts, when known.
retry_delay_ms: Option<u64>The retry delay in ms, when known.
error_kind: Option<String>The error kind (durable vocabulary, verbatim), when recorded.
http_status: Option<u16>The HTTP status, when recorded.
Trait Implementations§
Source§impl Clone for StatusAttempt
impl Clone for StatusAttempt
Source§impl Debug for StatusAttempt
impl Debug for StatusAttempt
Source§impl<'de> Deserialize<'de> for StatusAttempt
impl<'de> Deserialize<'de> for StatusAttempt
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 Eq for StatusAttempt
Source§impl PartialEq for StatusAttempt
impl PartialEq for StatusAttempt
Source§impl Serialize for StatusAttempt
impl Serialize for StatusAttempt
impl StructuralPartialEq for StatusAttempt
Auto Trait Implementations§
impl Freeze for StatusAttempt
impl RefUnwindSafe for StatusAttempt
impl Send for StatusAttempt
impl Sync for StatusAttempt
impl Unpin for StatusAttempt
impl UnsafeUnpin for StatusAttempt
impl UnwindSafe for StatusAttempt
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