Struct openzwave::notification::Notification [] [src]

pub struct Notification {
    // some fields omitted
}

Methods

impl Notification
[src]

fn new(ptr: *const ExternNotification) -> Notification

fn get_type(&self) -> NotificationType

fn get_home_id(&self) -> u32

fn get_controller(&self) -> Controller

fn get_node_id(&self) -> u8

fn get_node(&self) -> Node

fn get_value_id(&self) -> ValueID

fn get_group_idx(&self) -> Option<u8>

fn get_event(&self) -> Option<u8>

fn get_button_id(&self) -> Option<u8>

fn get_scene_id(&self) -> Option<u8>

fn get_controller_state(&self) -> Option<ControllerState>

fn get_notification_code(&self) -> Option<NotificationCode>

fn get_byte(&self) -> u8

fn get_as_string(&self) -> String

Trait Implementations

impl Display for Notification
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Debug for Notification
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.