[][src]Struct xio_jobset_compilation::CompiledParameterSet

pub struct CompiledParameterSet {
    pub parameter_mapping: BidirMap<String, u16>,
    pub parameters: IndexMap<String, ParameterValueRaw>,
    pub runtime_parameters: IndexMap<String, DataValueRaw>,
    pub assigned_capabilities: IndexSet<String>,
}

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: IndexMap<String, ParameterValueRaw>

The statically assigned parameter values.

runtime_parameters: IndexMap<String, DataValueRaw>

The parameter values that get set before jobs are run.

assigned_capabilities: IndexSet<String>

The XIO capabilities which are assigned to this job.

Methods

impl CompiledParameterSet[src]

pub fn build_request_parameters(&self) -> Result<Vec<ParameterValueRaw>, Error>[src]

Build a vector of all static parameter values.

pub fn build_runtime_parameters(
    &self
) -> Result<IndexMap<u16, DataValueRaw>, Error>
[src]

Build map of all parameters that get set before jobs are run.

Trait Implementations

impl Debug for CompiledParameterSet[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err