pub struct Name(/* private fields */);
Expand description
Represents a Name
in the SAE J1939 protocol.
The Name
structure is used in the SAE J1939 protocol to represent the identity of a device or
component within a vehicle’s network.
§Repr: u64
Field | Size (bits) |
---|---|
Arbitrary Address | 1 |
Industry Group | 3 |
Vehicle System Instance | 4 |
Vehicle system | 7 |
Reserved | 1 |
Function | 8 |
Function Instance | 5 |
ECU Instance | 3 |
Manufacturer Code | 11 |
Identity Number | 21 |
Implementations§
Trait Implementations§
Source§impl Ord for Name
impl Ord for Name
Source§impl PartialOrd for Name
impl PartialOrd for Name
impl Copy for Name
impl Eq for Name
impl IsDataUnit for Name
impl StructuralPartialEq for Name
Auto Trait Implementations§
impl Freeze for Name
impl RefUnwindSafe for Name
impl Send for Name
impl Sync for Name
impl Unpin for Name
impl UnwindSafe for Name
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