Struct NotificationRequest
#[repr(C)]pub struct NotificationRequest {
pub characteristic: AttributeRequest,
pub enabled: u8,
pub reserved: [u8; 3],
}Fields§
§characteristic: AttributeRequest§enabled: u8One to subscribe to notifications. Zero to unsubscribe.
reserved: [u8; 3]Trait Implementations§
§impl Clone for NotificationRequest
impl Clone for NotificationRequest
§fn clone(&self) -> NotificationRequest
fn clone(&self) -> NotificationRequest
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 more§impl Debug for NotificationRequest
impl Debug for NotificationRequest
§impl Default for NotificationRequest
impl Default for NotificationRequest
§fn default() -> NotificationRequest
fn default() -> NotificationRequest
Returns the “default value” for a type. Read more
§impl PartialEq for NotificationRequest
impl PartialEq for NotificationRequest
§fn eq(&self, other: &NotificationRequest) -> bool
fn eq(&self, other: &NotificationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for NotificationRequest
impl Eq for NotificationRequest
impl PlainData for NotificationRequest
impl StructuralPartialEq for NotificationRequest
Auto Trait Implementations§
impl Freeze for NotificationRequest
impl RefUnwindSafe for NotificationRequest
impl Send for NotificationRequest
impl Sync for NotificationRequest
impl Unpin for NotificationRequest
impl UnsafeUnpin for NotificationRequest
impl UnwindSafe for NotificationRequest
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