pub struct ThreadEventSubscription {
pub id: String,
pub thread_id: String,
pub topic: String,
pub prompt: String,
pub interval_seconds: Option<u64>,
pub remaining_deliveries: u32,
pub next_tick_at: Option<OffsetDateTime>,
pub last_delivered_at: Option<OffsetDateTime>,
pub expires_at: OffsetDateTime,
pub pending: bool,
pub last_error: Option<String>,
}Fields§
§id: String§thread_id: String§topic: String§prompt: String§interval_seconds: Option<u64>§remaining_deliveries: u32§next_tick_at: Option<OffsetDateTime>Next timer deadline; absent for publish-only subscriptions or a pending one-shot.
last_delivered_at: Option<OffsetDateTime>Last admitted follow-up turn, regardless of its eventual completion status.
expires_at: OffsetDateTime§pending: bool§last_error: Option<String>Trait Implementations§
Source§impl Clone for ThreadEventSubscription
impl Clone for ThreadEventSubscription
Source§impl Debug for ThreadEventSubscription
impl Debug for ThreadEventSubscription
Source§impl<'de> Deserialize<'de> for ThreadEventSubscription
impl<'de> Deserialize<'de> for ThreadEventSubscription
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 ThreadEventSubscription
impl RefUnwindSafe for ThreadEventSubscription
impl Send for ThreadEventSubscription
impl Sync for ThreadEventSubscription
impl Unpin for ThreadEventSubscription
impl UnsafeUnpin for ThreadEventSubscription
impl UnwindSafe for ThreadEventSubscription
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