pub struct StartEntry<I = Value> {
pub run: String,
pub actor: String,
pub version: Option<String>,
pub input: Option<I>,
pub time: i64,
pub max_timers: u64,
}Expand description
How a run started, the first entry of its journal: what a replay needs to
give the same records, with no clock. maxTimers is there because a
run’s records depend on it.
Fields§
§run: StringThe run’s id, as the host named it.
actor: StringThe root actor’s id.
version: Option<String>The machine’s version, as the host named it: a journal of another version is refused.
input: Option<I>The run’s input, when it has one: null is kept.
time: i64The time the run started at, in whole milliseconds, a safe integer of either sign.
max_timers: u64How many timers a time input fires at most in a chunk of control inputs alone.
Trait Implementations§
Source§impl<I: Clone> Clone for StartEntry<I>
impl<I: Clone> Clone for StartEntry<I>
Source§impl<I: Debug> Debug for StartEntry<I>
impl<I: Debug> Debug for StartEntry<I>
Source§impl<'de, I> Deserialize<'de> for StartEntry<I>where
I: Deserialize<'de>,
impl<'de, I> Deserialize<'de> for StartEntry<I>where
I: Deserialize<'de>,
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<I: PartialEq> PartialEq for StartEntry<I>
impl<I: PartialEq> PartialEq for StartEntry<I>
Source§impl<I> Serialize for StartEntry<I>where
I: Serialize,
impl<I> Serialize for StartEntry<I>where
I: Serialize,
impl<I: PartialEq> StructuralPartialEq for StartEntry<I>
Auto Trait Implementations§
impl<I> Forget for StartEntry<I>
impl<I> Freeze for StartEntry<I>
impl<I> Move for StartEntry<I>
impl<I> RefUnwindSafe for StartEntry<I>where
I: RefUnwindSafe,
impl<I> Send for StartEntry<I>
impl<I> Sync for StartEntry<I>
impl<I> Unpin for StartEntry<I>
impl<I> UnsafeUnpin for StartEntry<I>
impl<I> UnwindSafe for StartEntry<I>where
RawVecInner: UnwindSafe,
I: UnwindSafe,
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