pub struct Episode<V> {
pub id: EpisodeId,
pub timestamp: DateTime<Utc>,
pub payload: V,
}Expand description
One time-stamped episode of operator-shaped payload.
Fields§
§id: EpisodeIdUnique identifier (UUID v7).
timestamp: DateTime<Utc>Wall-clock time the episode was recorded.
payload: VOperator-supplied payload.
Trait Implementations§
Source§impl<'de, V> Deserialize<'de> for Episode<V>where
V: Deserialize<'de>,
impl<'de, V> Deserialize<'de> for Episode<V>where
V: 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
Auto Trait Implementations§
impl<V> Freeze for Episode<V>where
V: Freeze,
impl<V> RefUnwindSafe for Episode<V>where
V: RefUnwindSafe,
impl<V> Send for Episode<V>where
V: Send,
impl<V> Sync for Episode<V>where
V: Sync,
impl<V> Unpin for Episode<V>where
V: Unpin,
impl<V> UnsafeUnpin for Episode<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for Episode<V>where
V: 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