pub struct BtHostPeerBondingEventEventCodes {
pub mode: BluetoothMetricDimensionMode,
pub event: BtHostPeerBondingEventMetricDimensionEvent,
}
Fields§
§mode: BluetoothMetricDimensionMode
§event: BtHostPeerBondingEventMetricDimensionEvent
Trait Implementations§
§impl AsEventCodes for BtHostPeerBondingEventEventCodes
impl AsEventCodes for BtHostPeerBondingEventEventCodes
§fn as_event_codes(&self) -> Vec<u32>
fn as_event_codes(&self) -> Vec<u32>
Converts the source type into a
Vec<u32>
of event codes.§impl Clone for BtHostPeerBondingEventEventCodes
impl Clone for BtHostPeerBondingEventEventCodes
§fn clone(&self) -> BtHostPeerBondingEventEventCodes
fn clone(&self) -> BtHostPeerBondingEventEventCodes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for BtHostPeerBondingEventEventCodes
impl Debug for BtHostPeerBondingEventEventCodes
§impl Hash for BtHostPeerBondingEventEventCodes
impl Hash for BtHostPeerBondingEventEventCodes
§impl Ord for BtHostPeerBondingEventEventCodes
impl Ord for BtHostPeerBondingEventEventCodes
§fn cmp(&self, other: &BtHostPeerBondingEventEventCodes) -> Ordering
fn cmp(&self, other: &BtHostPeerBondingEventEventCodes) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for BtHostPeerBondingEventEventCodes
impl PartialEq for BtHostPeerBondingEventEventCodes
§fn eq(&self, other: &BtHostPeerBondingEventEventCodes) -> bool
fn eq(&self, other: &BtHostPeerBondingEventEventCodes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for BtHostPeerBondingEventEventCodes
impl PartialOrd for BtHostPeerBondingEventEventCodes
§fn partial_cmp(
&self,
other: &BtHostPeerBondingEventEventCodes
) -> Option<Ordering>
fn partial_cmp( &self, other: &BtHostPeerBondingEventEventCodes ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for BtHostPeerBondingEventEventCodes
impl Eq for BtHostPeerBondingEventEventCodes
impl StructuralPartialEq for BtHostPeerBondingEventEventCodes
Auto Trait Implementations§
impl Freeze for BtHostPeerBondingEventEventCodes
impl RefUnwindSafe for BtHostPeerBondingEventEventCodes
impl Send for BtHostPeerBondingEventEventCodes
impl Sync for BtHostPeerBondingEventEventCodes
impl Unpin for BtHostPeerBondingEventEventCodes
impl UnwindSafe for BtHostPeerBondingEventEventCodes
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