pub struct ValueNotification {
pub uuid: Uuid,
pub value: Vec<u8>,
}
Expand description
A notification sent from a peripheral due to a change in a value.
Fields§
§uuid: Uuid
UUID of the characteristic that fired the notification.
value: Vec<u8>
The new value of the characteristic.
Trait Implementations§
Source§impl Clone for ValueNotification
impl Clone for ValueNotification
Source§fn clone(&self) -> ValueNotification
fn clone(&self) -> ValueNotification
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 ValueNotification
impl Debug for ValueNotification
Source§impl PartialEq for ValueNotification
impl PartialEq for ValueNotification
impl Eq for ValueNotification
impl StructuralPartialEq for ValueNotification
Auto Trait Implementations§
impl Freeze for ValueNotification
impl RefUnwindSafe for ValueNotification
impl Send for ValueNotification
impl Sync for ValueNotification
impl Unpin for ValueNotification
impl UnwindSafe for ValueNotification
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