pub struct TrainingCommand {
pub sequence: u64,
pub expected_revision: u64,
pub kind: TrainingCommandKind,
pub parameter: String,
pub value: TrainingValue,
}Expand description
One command submitted by a session client.
Fields§
§sequence: u64Session-assigned sequence. Input values are overwritten by TrainingSession::enqueue.
expected_revision: u64Required live revision, or zero to accept the current revision.
kind: TrainingCommandKindRequested action.
parameter: StringParameter name for TrainingCommandKind::SetParameter.
value: TrainingValueTyped parameter or rebuild payload.
Trait Implementations§
Source§impl Clone for TrainingCommand
impl Clone for TrainingCommand
Source§impl Debug for TrainingCommand
impl Debug for TrainingCommand
Source§impl PartialEq for TrainingCommand
impl PartialEq for TrainingCommand
impl StructuralPartialEq for TrainingCommand
Auto Trait Implementations§
impl Forget for TrainingCommand
impl Freeze for TrainingCommand
impl Move for TrainingCommand
impl RefUnwindSafe for TrainingCommand
impl Send for TrainingCommand
impl Sync for TrainingCommand
impl Unpin for TrainingCommand
impl UnsafeUnpin for TrainingCommand
impl UnwindSafe for TrainingCommand
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