pub struct GapNumericComparisonValue {
pub connection_handle: ConnectionHandle,
pub numeric_value: u32,
}
Expand description
This event is sent only during SC Pairing, when Numeric Comparison Association model is selected, in order to show the Numeric Value generated, and to ask for Confirmation to the User. When this event is received, the application has to respond with the numeric_comparison_value_confirm_yes_no command.
Fields§
§connection_handle: ConnectionHandle
Handle of the connection where this event occured
numeric_value: u32
Generated numeric value
Trait Implementations§
Source§impl Clone for GapNumericComparisonValue
impl Clone for GapNumericComparisonValue
Source§fn clone(&self) -> GapNumericComparisonValue
fn clone(&self) -> GapNumericComparisonValue
Returns a duplicate 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 moreSource§impl Debug for GapNumericComparisonValue
impl Debug for GapNumericComparisonValue
impl Copy for GapNumericComparisonValue
Auto Trait Implementations§
impl Freeze for GapNumericComparisonValue
impl RefUnwindSafe for GapNumericComparisonValue
impl Send for GapNumericComparisonValue
impl Sync for GapNumericComparisonValue
impl Unpin for GapNumericComparisonValue
impl UnwindSafe for GapNumericComparisonValue
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