[][src]Enum rusp::usp_types::NotifyType

pub enum NotifyType {
    OnBoardRequest {
        oui: String,
        product_class: String,
        serial_number: String,
        agent_supported_protocol_versions: String,
    },
    ValueChange {
        param_path: String,
        param_value: String,
    },
    Event {
        obj_path: String,
        event_name: String,
        params: HashMap<String, String>,
    },
    ObjectCreation {
        obj_path: String,
        unique_keys: HashMap<String, String>,
    },
    ObjectDeletion {
        obj_path: String,
    },
    OperationComplete {
        obj_path: String,
        command_name: String,
        command_key: String,
        operation_resp: OperateResponse,
    },
}

Variants

OnBoardRequest

USP OnBoardRequest notification

Fields of OnBoardRequest

oui: String

The OUI associated with the manufacturer of the device

product_class: String

The product class associated with the device

serial_number: String

The serial number of the device

agent_supported_protocol_versions: String

A comma separated list of supported USP versions

ValueChange

USP ValueChange notification

Fields of ValueChange

param_path: String

The path of the changed parameter

param_value: String

The new value of the changed parameter

Event

USP Event notification

Fields of Event

obj_path: String

The path of the event

event_name: String

The name of the event

params: HashMap<String, String>

A list of parameter/value pairs associated with the event

ObjectCreation

USP ObjectCreation notification

Fields of ObjectCreation

obj_path: String

The path of the created object

unique_keys: HashMap<String, String>

A list of parameter/value pairs which are unique keys for the created object

ObjectDeletion

USP ObjectDeletion notification

Fields of ObjectDeletion

obj_path: String

The path of the deleted object

OperationComplete

USP OperationComplete notification

Fields of OperationComplete

obj_path: String

The path of the operation object

command_name: String

The name of the operated command

command_key: String

The command key associated with the operation

operation_resp: OperateResponse

The result of the operation

Trait Implementations

impl Clone for NotifyType[src]

impl Debug for NotifyType[src]

impl ParseArgs for NotifyType[src]

type Error = Error

Error type. Read more

impl PartialEq<NotifyType> for NotifyType[src]

impl StructOpt for NotifyType[src]

impl StructOptInternal for NotifyType[src]

impl StructuralPartialEq for NotifyType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.