pub struct ProtocolDescriptor {
pub family: String,
pub report_id: u8,
pub transaction_id: u8,
pub response_delay_us: u64,
pub busy_retries: u8,
pub quirks: ProtocolQuirks,
}Fields§
§family: String§report_id: u8§transaction_id: u8§response_delay_us: u64§busy_retries: u8§quirks: ProtocolQuirksTrait Implementations§
Source§impl Clone for ProtocolDescriptor
impl Clone for ProtocolDescriptor
Source§fn clone(&self) -> ProtocolDescriptor
fn clone(&self) -> ProtocolDescriptor
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 ProtocolDescriptor
impl Debug for ProtocolDescriptor
Source§impl<'de> Deserialize<'de> for ProtocolDescriptor
impl<'de> Deserialize<'de> for ProtocolDescriptor
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 ProtocolDescriptor
impl RefUnwindSafe for ProtocolDescriptor
impl Send for ProtocolDescriptor
impl Sync for ProtocolDescriptor
impl Unpin for ProtocolDescriptor
impl UnsafeUnpin for ProtocolDescriptor
impl UnwindSafe for ProtocolDescriptor
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