pub struct CompiledParameterSet {
pub parameter_mapping: BidirMap<String, u16>,
pub parameters: BTreeMap<String, ParameterValueRaw>,
pub runtime_parameters: BTreeMap<String, DataValueRaw>,
pub assigned_capabilities: BTreeSet<String>,
}
Expand description
A compiled parameter set to be used in a XIO jobset.
Fields
parameter_mapping: BidirMap<String, u16>
The parameter index mapping (index where parameters are stored).
parameters: BTreeMap<String, ParameterValueRaw>
The statically assigned parameter values.
runtime_parameters: BTreeMap<String, DataValueRaw>
The parameter values that get set before jobs are run.
assigned_capabilities: BTreeSet<String>
The XIO capabilities which are assigned to this job.
Implementations
sourceimpl CompiledParameterSet
impl CompiledParameterSet
sourcepub fn build_request_parameters(&self) -> Result<Vec<ParameterValueRaw>, Error>
pub fn build_request_parameters(&self) -> Result<Vec<ParameterValueRaw>, Error>
Build a vector of all static parameter values.
sourcepub fn build_runtime_parameters(
&self
) -> Result<BTreeMap<u16, DataValueRaw>, Error>
pub fn build_runtime_parameters(
&self
) -> Result<BTreeMap<u16, DataValueRaw>, Error>
Build map of all parameters that get set before jobs are run.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CompiledParameterSet
impl Send for CompiledParameterSet
impl Sync for CompiledParameterSet
impl Unpin for CompiledParameterSet
impl UnwindSafe for CompiledParameterSet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more