pub struct DataFormatIdentifier(/* private fields */);Expand description
Defined by the vehicle manufacturer
Implementations§
Source§impl DataFormatIdentifier
impl DataFormatIdentifier
pub fn new(compression: u8, encryption: u8) -> Self
pub fn compression(&self) -> u8
pub fn encryption(&self) -> u8
Trait Implementations§
Source§impl Clone for DataFormatIdentifier
impl Clone for DataFormatIdentifier
Source§fn clone(&self) -> DataFormatIdentifier
fn clone(&self) -> DataFormatIdentifier
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 DataFormatIdentifier
impl Debug for DataFormatIdentifier
Source§impl Default for DataFormatIdentifier
impl Default for DataFormatIdentifier
Source§fn default() -> DataFormatIdentifier
fn default() -> DataFormatIdentifier
Returns the “default value” for a type. Read more
Source§impl From<u8> for DataFormatIdentifier
impl From<u8> for DataFormatIdentifier
Source§impl Into<u8> for DataFormatIdentifier
impl Into<u8> for DataFormatIdentifier
Source§impl PartialEq for DataFormatIdentifier
impl PartialEq for DataFormatIdentifier
impl Copy for DataFormatIdentifier
impl Eq for DataFormatIdentifier
impl StructuralPartialEq for DataFormatIdentifier
Auto Trait Implementations§
impl Freeze for DataFormatIdentifier
impl RefUnwindSafe for DataFormatIdentifier
impl Send for DataFormatIdentifier
impl Sync for DataFormatIdentifier
impl Unpin for DataFormatIdentifier
impl UnwindSafe for DataFormatIdentifier
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