pub struct BusConfig {
pub bus: String,
pub adapter: String,
pub dbc_path: String,
pub bitrate: u32,
pub bitrate_data: u32,
pub fd_capable: bool,
}Fields§
§bus: String§adapter: String§dbc_path: String§bitrate: u32§bitrate_data: u32§fd_capable: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for BusConfig
impl<'de> Deserialize<'de> for BusConfig
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 BusConfig
impl RefUnwindSafe for BusConfig
impl Send for BusConfig
impl Sync for BusConfig
impl Unpin for BusConfig
impl UnsafeUnpin for BusConfig
impl UnwindSafe for BusConfig
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