pub struct RunSection {
pub supports_guard: bool,
pub supports_bootstrap_with_no_stage: bool,
pub supports_stage_name_with_no_stage: bool,
}Expand description
Run-option capabilities. The Default mirrors the baseline every harness
gets without opting in: no guard, bootstrap/stage-name allowed unstaged.
Fields§
§supports_guard: bool§supports_bootstrap_with_no_stage: bool§supports_stage_name_with_no_stage: boolImplementations§
Source§impl RunSection
impl RunSection
Sourcepub fn is_default(&self) -> bool
pub fn is_default(&self) -> bool
True when every capability sits at its baseline default — the signal
harness show uses to omit the section from authorable output.
Trait Implementations§
Source§impl Clone for RunSection
impl Clone for RunSection
Source§fn clone(&self) -> RunSection
fn clone(&self) -> RunSection
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 RunSection
impl Debug for RunSection
Source§impl Default for RunSection
impl Default for RunSection
Source§impl<'de> Deserialize<'de> for RunSection
impl<'de> Deserialize<'de> for RunSection
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 RunSection
Source§impl PartialEq for RunSection
impl PartialEq for RunSection
Source§impl Serialize for RunSection
impl Serialize for RunSection
impl StructuralPartialEq for RunSection
Auto Trait Implementations§
impl Freeze for RunSection
impl RefUnwindSafe for RunSection
impl Send for RunSection
impl Sync for RunSection
impl Unpin for RunSection
impl UnsafeUnpin for RunSection
impl UnwindSafe for RunSection
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.