pub struct FleetRuntimeEvent {
pub cursor: String,
pub event: String,
pub run_id: FleetRunId,
pub worker_id: Option<String>,
pub task_id: Option<String>,
pub timestamp: Option<String>,
pub worker_seq: Option<u64>,
pub payload: Value,
}Expand description
One privacy-bounded durable event exposed to managed Fleet clients.
cursor is an opaque stable digest of the underlying ledger transition.
Clients persist it and send it back on reconnect; they must not parse it.
Worker-local sequence numbers remain available separately because they are
monotonic only within one (worker, task) lifecycle, not across a run.
Fields§
§cursor: String§event: String§run_id: FleetRunId§worker_id: Option<String>§task_id: Option<String>§timestamp: Option<String>§worker_seq: Option<u64>§payload: ValueTrait Implementations§
Source§impl Clone for FleetRuntimeEvent
impl Clone for FleetRuntimeEvent
Source§fn clone(&self) -> FleetRuntimeEvent
fn clone(&self) -> FleetRuntimeEvent
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 FleetRuntimeEvent
impl Debug for FleetRuntimeEvent
Source§impl<'de> Deserialize<'de> for FleetRuntimeEvent
impl<'de> Deserialize<'de> for FleetRuntimeEvent
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 FleetRuntimeEvent
impl PartialEq for FleetRuntimeEvent
Source§impl Serialize for FleetRuntimeEvent
impl Serialize for FleetRuntimeEvent
impl StructuralPartialEq for FleetRuntimeEvent
Auto Trait Implementations§
impl Freeze for FleetRuntimeEvent
impl RefUnwindSafe for FleetRuntimeEvent
impl Send for FleetRuntimeEvent
impl Sync for FleetRuntimeEvent
impl Unpin for FleetRuntimeEvent
impl UnsafeUnpin for FleetRuntimeEvent
impl UnwindSafe for FleetRuntimeEvent
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