pub struct StepCompletedEvent {
pub session_id: String,
pub route: RuntimeEnvContext,
pub episode_id: String,
pub episode_record_id: String,
pub step: i64,
pub env_index: i32,
pub rewards: Vec<f64>,
}Fields§
§session_id: String§route: RuntimeEnvContext§episode_id: String§episode_record_id: String§step: i64§env_index: i32§rewards: Vec<f64>Trait Implementations§
Source§impl Clone for StepCompletedEvent
impl Clone for StepCompletedEvent
Source§fn clone(&self) -> StepCompletedEvent
fn clone(&self) -> StepCompletedEvent
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 StepCompletedEvent
impl Debug for StepCompletedEvent
Source§impl PartialEq for StepCompletedEvent
impl PartialEq for StepCompletedEvent
Source§fn eq(&self, other: &StepCompletedEvent) -> bool
fn eq(&self, other: &StepCompletedEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StepCompletedEvent
Auto Trait Implementations§
impl Freeze for StepCompletedEvent
impl RefUnwindSafe for StepCompletedEvent
impl Send for StepCompletedEvent
impl Sync for StepCompletedEvent
impl Unpin for StepCompletedEvent
impl UnsafeUnpin for StepCompletedEvent
impl UnwindSafe for StepCompletedEvent
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