pub enum ResolutionProvenance {
Strict,
BestMatchFile,
BestMatchUrl,
}Expand description
Tracks how a locator was resolved so callers can distinguish strict paths from best-effort fallbacks that preserve context without guaranteeing mutability.
Variants§
Trait Implementations§
Source§impl Clone for ResolutionProvenance
impl Clone for ResolutionProvenance
Source§fn clone(&self) -> ResolutionProvenance
fn clone(&self) -> ResolutionProvenance
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 ResolutionProvenance
impl Debug for ResolutionProvenance
Source§impl Default for ResolutionProvenance
impl Default for ResolutionProvenance
Source§fn default() -> ResolutionProvenance
fn default() -> ResolutionProvenance
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResolutionProvenance
impl<'de> Deserialize<'de> for ResolutionProvenance
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 ResolutionProvenance
impl Hash for ResolutionProvenance
Source§impl JsonSchema for ResolutionProvenance
impl JsonSchema for ResolutionProvenance
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl Ord for ResolutionProvenance
impl Ord for ResolutionProvenance
Source§fn cmp(&self, other: &ResolutionProvenance) -> Ordering
fn cmp(&self, other: &ResolutionProvenance) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ResolutionProvenance
impl PartialEq for ResolutionProvenance
Source§impl PartialOrd for ResolutionProvenance
impl PartialOrd for ResolutionProvenance
Source§impl Serialize for ResolutionProvenance
impl Serialize for ResolutionProvenance
impl Copy for ResolutionProvenance
impl Eq for ResolutionProvenance
impl StructuralPartialEq for ResolutionProvenance
Auto Trait Implementations§
impl Freeze for ResolutionProvenance
impl RefUnwindSafe for ResolutionProvenance
impl Send for ResolutionProvenance
impl Sync for ResolutionProvenance
impl Unpin for ResolutionProvenance
impl UnwindSafe for ResolutionProvenance
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.