pub struct Episode {
pub id: EpisodeId,
pub memory: MemoryEpisode,
pub annotations: Vec<AnnotationLayer>,
pub provenance: Vec<ModelProvenance>,
}Expand description
One embodied-AI episode with optional annotations and provenance.
Fields§
§id: EpisodeIdEpisode id.
memory: MemoryEpisodeDeterministic multimodal payload.
annotations: Vec<AnnotationLayer>Annotation layers.
provenance: Vec<ModelProvenance>Model provenance records.
Implementations§
Source§impl Episode
impl Episode
Sourcepub fn try_new(
id: impl Into<EpisodeId>,
memory: MemoryEpisode,
) -> EpisodeResult<Self>
pub fn try_new( id: impl Into<EpisodeId>, memory: MemoryEpisode, ) -> EpisodeResult<Self>
Creates an episode with empty annotation/provenance lists.
Trait Implementations§
impl StructuralPartialEq for Episode
Auto Trait Implementations§
impl Freeze for Episode
impl RefUnwindSafe for Episode
impl Send for Episode
impl Sync for Episode
impl Unpin for Episode
impl UnsafeUnpin for Episode
impl UnwindSafe for Episode
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