pub struct EventHistory {
pub execution_id: String,
pub state: ExecutionState,
pub events: Vec<ExecutionEvent>,
pub last_sequence: u64,
pub more: bool,
pub truncated: bool,
}Expand description
The answer of executions.events: one page of an execution’s retained history.
Fields§
§execution_id: StringThe execution the events belong to.
state: ExecutionStateWhere the execution stands now, so a client needs one request rather than two.
events: Vec<ExecutionEvent>The events, oldest first.
last_sequence: u64The sequence of the last event here: the cursor for the next page, and the one to open the live channel with.
more: boolWhether more events follow this page right now.
truncated: boolWhether events before this page had already been dropped by the store’s bound.
Trait Implementations§
Source§impl Debug for EventHistory
impl Debug for EventHistory
Source§impl<'de> Deserialize<'de> for EventHistory
impl<'de> Deserialize<'de> for EventHistory
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 JsonSchema for EventHistory
impl JsonSchema for EventHistory
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for EventHistory
impl RefUnwindSafe for EventHistory
impl Send for EventHistory
impl Sync for EventHistory
impl Unpin for EventHistory
impl UnsafeUnpin for EventHistory
impl UnwindSafe for EventHistory
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