pub struct UnknownModel {
pub model: String,
}Expand description
Returned when a model id is not in the price table.
Fields§
§model: StringTrait Implementations§
Source§impl Clone for UnknownModel
impl Clone for UnknownModel
Source§fn clone(&self) -> UnknownModel
fn clone(&self) -> UnknownModel
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 UnknownModel
impl Debug for UnknownModel
Source§impl Display for UnknownModel
impl Display for UnknownModel
Source§impl Error for UnknownModel
impl Error for UnknownModel
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<UnknownModel> for CheckError
impl From<UnknownModel> for CheckError
Source§fn from(e: UnknownModel) -> Self
fn from(e: UnknownModel) -> Self
Converts to this type from the input type.
Source§impl From<UnknownModel> for EstimateError
impl From<UnknownModel> for EstimateError
Source§fn from(e: UnknownModel) -> Self
fn from(e: UnknownModel) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UnknownModel
impl PartialEq for UnknownModel
Source§fn eq(&self, other: &UnknownModel) -> bool
fn eq(&self, other: &UnknownModel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnknownModel
Auto Trait Implementations§
impl Freeze for UnknownModel
impl RefUnwindSafe for UnknownModel
impl Send for UnknownModel
impl Sync for UnknownModel
impl Unpin for UnknownModel
impl UnsafeUnpin for UnknownModel
impl UnwindSafe for UnknownModel
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