pub struct VehicleSpec {
pub spec_version: Option<String>,
pub identity: SpecIdentity,
pub communication: CommunicationSpec,
pub thresholds: Option<ThresholdSet>,
pub polling_groups: Vec<PollingGroup>,
pub diagnostic_rules: Vec<DiagnosticRule>,
pub known_issues: Vec<KnownIssue>,
pub dtc_library: Option<DtcLibrary>,
pub enhanced_pids: Vec<EnhancedPid>,
}Fields§
§spec_version: Option<String>§identity: SpecIdentity§communication: CommunicationSpec§thresholds: Option<ThresholdSet>§polling_groups: Vec<PollingGroup>§diagnostic_rules: Vec<DiagnosticRule>§known_issues: Vec<KnownIssue>§dtc_library: Option<DtcLibrary>§enhanced_pids: Vec<EnhancedPid>Trait Implementations§
Source§impl Clone for VehicleSpec
impl Clone for VehicleSpec
Source§fn clone(&self) -> VehicleSpec
fn clone(&self) -> VehicleSpec
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 VehicleSpec
impl Debug for VehicleSpec
Source§impl<'de> Deserialize<'de> for VehicleSpec
impl<'de> Deserialize<'de> for VehicleSpec
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 VehicleSpec
impl RefUnwindSafe for VehicleSpec
impl Send for VehicleSpec
impl Sync for VehicleSpec
impl Unpin for VehicleSpec
impl UnsafeUnpin for VehicleSpec
impl UnwindSafe for VehicleSpec
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