pub struct DriverFrameworkEvent {
pub timestamp: String,
pub event_id: u32,
pub instance_id: String,
}Expand description
A decoded USB DriverFrameworks arrival/removal event.
Fields§
§timestamp: StringSystem/TimeCreated in ISO-8601 UTC — the record’s time.
event_id: u32The Event ID: 2003 (arrival/connect) or 2102 (final removal/disconnect).
instance_id: StringThe device instance id, e.g. USB\VID_0781&PID_5597\4C530000261130109435, from the
UserData child’s instance attribute (or InstanceId element).
Trait Implementations§
Source§impl Clone for DriverFrameworkEvent
impl Clone for DriverFrameworkEvent
Source§fn clone(&self) -> DriverFrameworkEvent
fn clone(&self) -> DriverFrameworkEvent
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 DriverFrameworkEvent
impl Debug for DriverFrameworkEvent
impl Eq for DriverFrameworkEvent
Source§impl PartialEq for DriverFrameworkEvent
impl PartialEq for DriverFrameworkEvent
impl StructuralPartialEq for DriverFrameworkEvent
Auto Trait Implementations§
impl Freeze for DriverFrameworkEvent
impl RefUnwindSafe for DriverFrameworkEvent
impl Send for DriverFrameworkEvent
impl Sync for DriverFrameworkEvent
impl Unpin for DriverFrameworkEvent
impl UnsafeUnpin for DriverFrameworkEvent
impl UnwindSafe for DriverFrameworkEvent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more