pub struct EpisodeCompletedEvent {
pub session_id: String,
pub route: RuntimeRouteContext,
pub episode_id: String,
pub episode_record_id: String,
pub episode_index: i64,
pub env_index: i32,
pub step_count: i64,
pub cumulative_reward: f64,
pub terminated: bool,
pub truncated: bool,
pub duration_ms: i64,
pub final_info: Option<Struct>,
}Fields§
§session_id: String§route: RuntimeRouteContext§episode_id: String§episode_record_id: String§episode_index: i64§env_index: i32§step_count: i64§cumulative_reward: f64§terminated: bool§truncated: bool§duration_ms: i64§final_info: Option<Struct>Trait Implementations§
Source§impl Clone for EpisodeCompletedEvent
impl Clone for EpisodeCompletedEvent
Source§fn clone(&self) -> EpisodeCompletedEvent
fn clone(&self) -> EpisodeCompletedEvent
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 EpisodeCompletedEvent
impl Debug for EpisodeCompletedEvent
Source§impl PartialEq for EpisodeCompletedEvent
impl PartialEq for EpisodeCompletedEvent
Source§fn eq(&self, other: &EpisodeCompletedEvent) -> bool
fn eq(&self, other: &EpisodeCompletedEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EpisodeCompletedEvent
Auto Trait Implementations§
impl Freeze for EpisodeCompletedEvent
impl RefUnwindSafe for EpisodeCompletedEvent
impl Send for EpisodeCompletedEvent
impl Sync for EpisodeCompletedEvent
impl Unpin for EpisodeCompletedEvent
impl UnsafeUnpin for EpisodeCompletedEvent
impl UnwindSafe for EpisodeCompletedEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request