pub struct TertiaryDeviceAttributes {
pub unit_id: u32,
}Expand description
Tertiary device attributes (DA3) response data.
Returned as part of DeviceAttributes in response to a CSI = c query.
Response format: DCS ! | D…D ST (DECRPTUI).
Fields§
§unit_id: u32Unit ID encoded as 8 uppercase hex digits in the response.
Trait Implementations§
Source§impl Clone for TertiaryDeviceAttributes
impl Clone for TertiaryDeviceAttributes
Source§fn clone(&self) -> TertiaryDeviceAttributes
fn clone(&self) -> TertiaryDeviceAttributes
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TertiaryDeviceAttributes
Source§impl Debug for TertiaryDeviceAttributes
impl Debug for TertiaryDeviceAttributes
Source§impl Default for TertiaryDeviceAttributes
impl Default for TertiaryDeviceAttributes
Source§fn default() -> TertiaryDeviceAttributes
fn default() -> TertiaryDeviceAttributes
Returns the “default value” for a type. Read more
impl Eq for TertiaryDeviceAttributes
Source§impl From<TertiaryDeviceAttributes> for DeviceAttributesTertiary
impl From<TertiaryDeviceAttributes> for DeviceAttributesTertiary
Source§fn from(value: TertiaryDeviceAttributes) -> Self
fn from(value: TertiaryDeviceAttributes) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TertiaryDeviceAttributes
impl PartialEq for TertiaryDeviceAttributes
Source§fn eq(&self, other: &TertiaryDeviceAttributes) -> bool
fn eq(&self, other: &TertiaryDeviceAttributes) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TertiaryDeviceAttributes
Auto Trait Implementations§
impl Freeze for TertiaryDeviceAttributes
impl RefUnwindSafe for TertiaryDeviceAttributes
impl Send for TertiaryDeviceAttributes
impl Sync for TertiaryDeviceAttributes
impl Unpin for TertiaryDeviceAttributes
impl UnsafeUnpin for TertiaryDeviceAttributes
impl UnwindSafe for TertiaryDeviceAttributes
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