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§fn default() -> MetadataTrust
fn default() -> MetadataTrust
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetadataTrust
impl<'de> Deserialize<'de> for MetadataTrust
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetadataTrust, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MetadataTrust, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.