#[repr(C)]pub union NotificationMessageData {
pub sound: NotificationMessageDataSound,
pub led: NotificationMessageDataLed,
pub led_blink: NotificationMessageDataLedBlink,
pub vibro: NotificationMessageDataVibro,
pub delay: NotificationMessageDataDelay,
pub forced_settings: NotificationMessageDataForcedSettings,
}Fields§
§sound: NotificationMessageDataSound§led: NotificationMessageDataLed§led_blink: NotificationMessageDataLedBlink§vibro: NotificationMessageDataVibro§delay: NotificationMessageDataDelay§forced_settings: NotificationMessageDataForcedSettingsTrait Implementations§
Source§impl Clone for NotificationMessageData
impl Clone for NotificationMessageData
Source§fn clone(&self) -> NotificationMessageData
fn clone(&self) -> NotificationMessageData
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 moreimpl Copy for NotificationMessageData
Auto Trait Implementations§
impl Freeze for NotificationMessageData
impl RefUnwindSafe for NotificationMessageData
impl Send for NotificationMessageData
impl Sync for NotificationMessageData
impl Unpin for NotificationMessageData
impl UnwindSafe for NotificationMessageData
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