#[repr(C)]pub struct ExperimentInfo {
pub name: FixedBufferString<128>,
pub id: FixedBufferString<64>,
pub started_at: i64,
pub ended_at: i64,
pub max_duration: u64,
pub experiment_status: ExperimentStatus,
pub worker_count: u32,
}Expand description
Note: needs to be Copy due to wasmtime constraints.
Fields§
§name: FixedBufferString<128>Human readable name of the experiment.
Experiment names can be long.
id: FixedBufferString<64>Internal id of the experiment
started_at: i64Time when experiment was started as nanoseconds since the UNIX epoch.
ended_at: i64Time when experiment was ended as nanoseconds since the UNIX epoch, or 0 if it has not ended yet.
max_duration: u64The experiment will be automatically stopped after this number of seconds
experiment_status: ExperimentStatusStatus of the experiment on the hive server.
worker_count: u32Number of game workers that are started on the server. May be 0 for in-client training.
Trait Implementations§
Source§impl CheckedBitPattern for ExperimentInfo
impl CheckedBitPattern for ExperimentInfo
Source§type Bits = ExperimentInfoBits
type Bits = ExperimentInfoBits
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.Source§fn is_valid_bit_pattern(bits: &ExperimentInfoBits) -> bool
fn is_valid_bit_pattern(bits: &ExperimentInfoBits) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl Clone for ExperimentInfo
impl Clone for ExperimentInfo
Source§fn clone(&self) -> ExperimentInfo
fn clone(&self) -> ExperimentInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 ExperimentInfo
impl Debug for ExperimentInfo
impl Copy for ExperimentInfo
impl NoUninit for ExperimentInfo
Auto Trait Implementations§
impl Freeze for ExperimentInfo
impl RefUnwindSafe for ExperimentInfo
impl Send for ExperimentInfo
impl Sync for ExperimentInfo
impl Unpin for ExperimentInfo
impl UnwindSafe for ExperimentInfo
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