pub struct TimingDefaults {
pub timing: Option<String>,
pub command_timing: Option<String>,
pub query_timing: Option<String>,
}Expand description
The raw [defaults] timing strings of one manifest, or the merge of
several. Each key is stored unparsed and is None when no manifest sets it.
Fields§
§timing: Option<String>[defaults].timing, the default for signals and events.
command_timing: Option<String>[defaults].command_timing, the default for commands.
query_timing: Option<String>[defaults].query_timing, the default for queries.
Implementations§
Source§impl TimingDefaults
impl TimingDefaults
Sourcepub fn or(self, fallback: &TimingDefaults) -> TimingDefaults
pub fn or(self, fallback: &TimingDefaults) -> TimingDefaults
Per key: self’s value, else fallback’s.
Trait Implementations§
Source§impl Clone for TimingDefaults
impl Clone for TimingDefaults
Source§impl Debug for TimingDefaults
impl Debug for TimingDefaults
Source§impl Default for TimingDefaults
impl Default for TimingDefaults
impl Eq for TimingDefaults
Source§impl Hash for TimingDefaults
impl Hash for TimingDefaults
Source§impl PartialEq for TimingDefaults
impl PartialEq for TimingDefaults
impl StructuralPartialEq for TimingDefaults
Auto Trait Implementations§
impl Freeze for TimingDefaults
impl RefUnwindSafe for TimingDefaults
impl Send for TimingDefaults
impl Sync for TimingDefaults
impl Unpin for TimingDefaults
impl UnsafeUnpin for TimingDefaults
impl UnwindSafe for TimingDefaults
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.Source§impl<T> HashEqLike<&T> for T
impl<T> HashEqLike<&T> for T
Source§impl<T> HashEqLike<Cow<'_, T>> for T
impl<T> HashEqLike<Cow<'_, T>> for T
Source§impl<T> HashEqLike<T> for T
impl<T> HashEqLike<T> for T
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