pub enum ResolutionSource {
RequestOverride,
PlaybookDefault,
GlobalDefault,
}Expand description
Tag describing which tier of the precedence ladder contributed
each field to a ResolvedPlaybook.
Used by crate::playbooks::ResolvedPlaybook source metadata fields so
downstream observers can verify the deterministic precedence is
being honoured.
Variants§
RequestOverride
The value was set by the per-request override (top priority).
PlaybookDefault
The value came from the playbook’s own default.
GlobalDefault
The value fell through to the resolver’s global default.
Trait Implementations§
Source§impl Clone for ResolutionSource
impl Clone for ResolutionSource
Source§fn clone(&self) -> ResolutionSource
fn clone(&self) -> ResolutionSource
Returns a duplicate of the value. Read more
1.0.0 · 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 ResolutionSource
impl Debug for ResolutionSource
Source§impl<'de> Deserialize<'de> for ResolutionSource
impl<'de> Deserialize<'de> for ResolutionSource
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
Source§impl Hash for ResolutionSource
impl Hash for ResolutionSource
Source§impl PartialEq for ResolutionSource
impl PartialEq for ResolutionSource
Source§impl Serialize for ResolutionSource
impl Serialize for ResolutionSource
impl Copy for ResolutionSource
impl Eq for ResolutionSource
impl StructuralPartialEq for ResolutionSource
Auto Trait Implementations§
impl Freeze for ResolutionSource
impl RefUnwindSafe for ResolutionSource
impl Send for ResolutionSource
impl Sync for ResolutionSource
impl Unpin for ResolutionSource
impl UnsafeUnpin for ResolutionSource
impl UnwindSafe for ResolutionSource
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.