pub struct TransportIdentity {
pub manufacturer: Option<String>,
pub model: Option<String>,
pub serial: Option<String>,
pub interface: InterfaceKind,
pub manf_id: Option<u32>,
pub model_code: Option<u32>,
}Expand description
Optional pre-SCPI identity hints from the transport backend.
Fields§
§manufacturer: Option<String>§model: Option<String>§serial: Option<String>§interface: InterfaceKind§manf_id: Option<u32>§model_code: Option<u32>Trait Implementations§
Source§impl Clone for TransportIdentity
impl Clone for TransportIdentity
Source§fn clone(&self) -> TransportIdentity
fn clone(&self) -> TransportIdentity
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 moreSource§impl Debug for TransportIdentity
impl Debug for TransportIdentity
Source§impl Default for TransportIdentity
impl Default for TransportIdentity
Source§fn default() -> TransportIdentity
fn default() -> TransportIdentity
Returns the “default value” for a type. Read more
impl Eq for TransportIdentity
Source§impl PartialEq for TransportIdentity
impl PartialEq for TransportIdentity
impl StructuralPartialEq for TransportIdentity
Auto Trait Implementations§
impl Freeze for TransportIdentity
impl RefUnwindSafe for TransportIdentity
impl Send for TransportIdentity
impl Sync for TransportIdentity
impl Unpin for TransportIdentity
impl UnsafeUnpin for TransportIdentity
impl UnwindSafe for TransportIdentity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.