oa::ml::training::TrainingCommand

One command submitted by a session client.

StRust public API

Declaration

pub struct TrainingCommand { pub sequence: u64, pub expected_revision: u64, pub kind: TrainingCommandKind, pub parameter: String, pub value: TrainingValue, }
Public Rust declaration.

Public Methods

fn clone(&self) -> TrainingCommand
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &TrainingCommand) -> bool

Public Data Members

sequenceu64field
expected_revisionu64field
kindTrainingCommandKindfield
parameterStringfield
valueTrainingValuefield

Public Method Documentation

fn clone( &self ) -> TrainingCommand
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &TrainingCommand ) -> bool
No public source comment is attached to this declaration.