pub struct LegacySpelling {
pub durations: bool,
pub sizes: bool,
}Expand description
Which settings a runtime reads only in their older spelling, because it predates the release that renamed them.
The pipeline manager computes this for the runtime a pipeline runs, and the executors apply it to the configuration they hand the pipeline process.
Fields§
§durations: boolThe runtime predates the duration rename (release 0.366.0).
sizes: boolThe runtime predates the size rename (release 0.367.0).
Implementations§
Source§impl LegacySpelling
impl LegacySpelling
Sourcepub const NONE: LegacySpelling
pub const NONE: LegacySpelling
A runtime that reads every current spelling.
Sourcepub fn apply(self, config: &mut Value)
pub fn apply(self, config: &mut Value)
Rewrites config, a serialized RuntimeConfig or
PipelineConfig, in the spellings the runtime reads.
Trait Implementations§
Source§impl Clone for LegacySpelling
impl Clone for LegacySpelling
impl Copy for LegacySpelling
Source§impl Debug for LegacySpelling
impl Debug for LegacySpelling
Source§impl Default for LegacySpelling
impl Default for LegacySpelling
impl Eq for LegacySpelling
Source§impl PartialEq for LegacySpelling
impl PartialEq for LegacySpelling
impl StructuralPartialEq for LegacySpelling
Auto Trait Implementations§
impl Forget for LegacySpelling
impl Freeze for LegacySpelling
impl Move for LegacySpelling
impl RefUnwindSafe for LegacySpelling
impl Send for LegacySpelling
impl Sync for LegacySpelling
impl Unpin for LegacySpelling
impl UnsafeUnpin for LegacySpelling
impl UnwindSafe for LegacySpelling
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more