pub enum RunManifest {
Declared {
format_version: u32,
scenario: ArtifactManifest,
rules: Vec<ArtifactManifest>,
content: Vec<ArtifactManifest>,
localization_contracts: Vec<ArtifactManifest>,
run_configuration: Box<ArtifactManifest>,
sources: Vec<ArtifactManifest>,
},
}Expand description
The exact non-executable environment bound to a simulation run.
Variants§
Declared
Fields
§
scenario: ArtifactManifest§
rules: Vec<ArtifactManifest>§
content: Vec<ArtifactManifest>§
localization_contracts: Vec<ArtifactManifest>§
run_configuration: Box<ArtifactManifest>§
sources: Vec<ArtifactManifest>Implementations§
Source§impl RunManifest
impl RunManifest
pub fn for_scenario( namespace: impl Into<String>, name: impl Into<String>, version: impl Into<String>, scenario: &Scenario, ) -> Result<Self, CanwuError>
pub fn declared( scenario: ArtifactManifest, run_configuration: ArtifactManifest, ) -> Self
Trait Implementations§
Source§impl Clone for RunManifest
impl Clone for RunManifest
Source§impl Debug for RunManifest
impl Debug for RunManifest
Source§impl<'de> Deserialize<'de> for RunManifest
impl<'de> Deserialize<'de> for RunManifest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RunManifest
Source§impl PartialEq for RunManifest
impl PartialEq for RunManifest
Source§impl Serialize for RunManifest
impl Serialize for RunManifest
impl StructuralPartialEq for RunManifest
Auto Trait Implementations§
impl Freeze for RunManifest
impl RefUnwindSafe for RunManifest
impl Send for RunManifest
impl Sync for RunManifest
impl Unpin for RunManifest
impl UnsafeUnpin for RunManifest
impl UnwindSafe for RunManifest
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