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

pub enum NotifyType {
    OnBoardRequest {
        oui: String,
        product_class: String,
        serial_number: String,
        agent_supported_protocol_versions: String,
    },
}

Variants

OnBoardRequest

Generate an USP Error message

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

Trait Implementations

impl Debug for NotifyType[src]

impl StructOpt for NotifyType[src]

fn from_args() -> Self[src]

Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more

fn from_iter<I>(iter: I) -> Self where
    I: IntoIterator,
    <I as IntoIterator>::Item: Into<OsString>,
    <I as IntoIterator>::Item: Clone
[src]

Gets the struct from any iterator such as a Vec of your making. Print the error message and quit the program in case of failure. Read more

fn from_iter_safe<I>(iter: I) -> Result<Self, Error> where
    I: IntoIterator,
    <I as IntoIterator>::Item: Into<OsString>,
    <I as IntoIterator>::Item: Clone
[src]

Gets the struct from any iterator such as a Vec of your making. Read more

Auto Trait Implementations

impl Send for NotifyType

impl Sync for NotifyType

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.