pub enum ResolutionField {
Show 20 variants
OriginalSources,
ResolvedSources,
Config,
ExternalMetadata,
Family,
WeightSchema,
WeightFormat,
Tokenizer,
Template,
SpecialTokens,
Device,
Capabilities,
RuntimePreset,
RuntimeMemory,
Admission,
Engine,
ExecutionPlan,
Sampling,
Stop,
StructuredOutput,
}Variants§
OriginalSources
ResolvedSources
Config
ExternalMetadata
Family
WeightSchema
WeightFormat
Tokenizer
Template
SpecialTokens
Device
Capabilities
RuntimePreset
RuntimeMemory
Admission
Engine
ExecutionPlan
Sampling
Stop
StructuredOutput
Implementations§
Source§impl ResolutionField
impl ResolutionField
pub const fn as_str(self) -> &'static str
Sourcepub const fn accepts_source(self, source: ResolutionDecisionSource) -> bool
pub const fn accepts_source(self, source: ResolutionDecisionSource) -> bool
Returns whether a provenance source is allowed to author this decision. This matrix prevents a self-consistent package from relabeling a planner, model, or capability decision as a generic product default.
Trait Implementations§
Source§impl Clone for ResolutionField
impl Clone for ResolutionField
Source§fn clone(&self) -> ResolutionField
fn clone(&self) -> ResolutionField
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 moreimpl Copy for ResolutionField
Source§impl Debug for ResolutionField
impl Debug for ResolutionField
Source§impl<'de> Deserialize<'de> for ResolutionField
impl<'de> Deserialize<'de> for ResolutionField
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 ResolutionField
Source§impl Ord for ResolutionField
impl Ord for ResolutionField
Source§fn cmp(&self, other: &ResolutionField) -> Ordering
fn cmp(&self, other: &ResolutionField) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ResolutionField
impl PartialEq for ResolutionField
Source§impl PartialOrd for ResolutionField
impl PartialOrd for ResolutionField
Source§impl Serialize for ResolutionField
impl Serialize for ResolutionField
impl StructuralPartialEq for ResolutionField
Auto Trait Implementations§
impl Freeze for ResolutionField
impl RefUnwindSafe for ResolutionField
impl Send for ResolutionField
impl Sync for ResolutionField
impl Unpin for ResolutionField
impl UnsafeUnpin for ResolutionField
impl UnwindSafe for ResolutionField
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