pub enum MetadataTrust {
Exact,
StrongHint,
InitialGuess,
TypeOnly,
Unknown,
}Expand description
Describes how strongly imported metadata should influence fitting.
Variants§
Exact
Parameters are asserted to describe the exact source carrier.
StrongHint
Parameters are a strong prior but must still be validated.
InitialGuess
Parameters only initialize numerical refinement.
TypeOnly
Only the primitive family is trusted.
Unknown
No trust information was supplied.
Trait Implementations§
Source§impl Clone for MetadataTrust
impl Clone for MetadataTrust
Source§fn clone(&self) -> MetadataTrust
fn clone(&self) -> MetadataTrust
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 MetadataTrust
Source§impl Debug for MetadataTrust
impl Debug for MetadataTrust
Source§impl Default for MetadataTrust
impl Default for MetadataTrust
Source§impl<'de> Deserialize<'de> for MetadataTrust
impl<'de> Deserialize<'de> for MetadataTrust
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 MetadataTrust
Source§impl PartialEq for MetadataTrust
impl PartialEq for MetadataTrust
Source§impl Serialize for MetadataTrust
impl Serialize for MetadataTrust
impl StructuralPartialEq for MetadataTrust
Auto Trait Implementations§
impl Freeze for MetadataTrust
impl RefUnwindSafe for MetadataTrust
impl Send for MetadataTrust
impl Sync for MetadataTrust
impl Unpin for MetadataTrust
impl UnsafeUnpin for MetadataTrust
impl UnwindSafe for MetadataTrust
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