pub struct SpecIdentity {
pub name: String,
pub model_years: (u16, u16),
pub makes: Vec<String>,
pub models: Vec<String>,
pub engine: EngineSpec,
pub transmission: Option<TransmissionSpec>,
pub vin_match: Option<VinMatcher>,
}Fields§
§name: String§model_years: (u16, u16)§makes: Vec<String>§models: Vec<String>§engine: EngineSpec§transmission: Option<TransmissionSpec>§vin_match: Option<VinMatcher>Trait Implementations§
Source§impl Clone for SpecIdentity
impl Clone for SpecIdentity
Source§fn clone(&self) -> SpecIdentity
fn clone(&self) -> SpecIdentity
Returns a duplicate of the value. Read more
1.0.0 · 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 SpecIdentity
impl Debug for SpecIdentity
Source§impl<'de> Deserialize<'de> for SpecIdentity
impl<'de> Deserialize<'de> for SpecIdentity
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
Auto Trait Implementations§
impl Freeze for SpecIdentity
impl RefUnwindSafe for SpecIdentity
impl Send for SpecIdentity
impl Sync for SpecIdentity
impl Unpin for SpecIdentity
impl UnsafeUnpin for SpecIdentity
impl UnwindSafe for SpecIdentity
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