pub struct ModelWarning {
pub code: String,
pub message: String,
pub metadata: BTreeMap<String, Value>,
}Expand description
A visible feature degradation or translation warning.
Fields§
§code: StringStable warning code.
message: StringSafe explanation.
metadata: BTreeMap<String, Value>Namespaced details.
Trait Implementations§
Source§impl Clone for ModelWarning
impl Clone for ModelWarning
Source§fn clone(&self) -> ModelWarning
fn clone(&self) -> ModelWarning
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 moreSource§impl Debug for ModelWarning
impl Debug for ModelWarning
Source§impl<'de> Deserialize<'de> for ModelWarning
impl<'de> Deserialize<'de> for ModelWarning
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 PartialEq for ModelWarning
impl PartialEq for ModelWarning
Source§impl Serialize for ModelWarning
impl Serialize for ModelWarning
impl StructuralPartialEq for ModelWarning
Auto Trait Implementations§
impl Freeze for ModelWarning
impl RefUnwindSafe for ModelWarning
impl Send for ModelWarning
impl Sync for ModelWarning
impl Unpin for ModelWarning
impl UnsafeUnpin for ModelWarning
impl UnwindSafe for ModelWarning
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