pub struct SelfHostingScenario {
pub id: &'static str,
pub title: &'static str,
pub runner_mode: &'static str,
pub live_model: bool,
pub network: bool,
pub evidence: &'static [&'static str],
pub roles: &'static [&'static str],
pub cassette_events: &'static [&'static str],
pub cassette_hash: &'static str,
}Expand description
One self-hosting scenario exercised by recipes and conformance tests.
Fields§
§id: &'static strStable scenario id, matching the recipe directory.
title: &'static strScenario title.
runner_mode: &'static strRunner mode used by the scenario.
live_model: boolWhether a live model is used.
network: boolWhether network access is used.
evidence: &'static [&'static str]Required evidence families.
roles: &'static [&'static str]Roles participating in the scenario.
cassette_events: &'static [&'static str]Cassette event payloads used for the replay hash.
cassette_hash: &'static strExpected replay hash for cassette_events.
Trait Implementations§
Source§impl Clone for SelfHostingScenario
impl Clone for SelfHostingScenario
Source§fn clone(&self) -> SelfHostingScenario
fn clone(&self) -> SelfHostingScenario
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SelfHostingScenario
impl Debug for SelfHostingScenario
impl Eq for SelfHostingScenario
Source§impl PartialEq for SelfHostingScenario
impl PartialEq for SelfHostingScenario
Source§fn eq(&self, other: &SelfHostingScenario) -> bool
fn eq(&self, other: &SelfHostingScenario) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SelfHostingScenario
Auto Trait Implementations§
impl Freeze for SelfHostingScenario
impl RefUnwindSafe for SelfHostingScenario
impl Send for SelfHostingScenario
impl Sync for SelfHostingScenario
impl Unpin for SelfHostingScenario
impl UnsafeUnpin for SelfHostingScenario
impl UnwindSafe for SelfHostingScenario
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