[][src]Struct streamdeck_rs::registration::RegistrationParams

pub struct RegistrationParams {
    pub port: u16,
    pub uuid: String,
    pub event: String,
    pub info: RegistrationInfo,
}

Registration parameters provided to the plugin on startup.

Official Documentation

Fields

port: u16

The web socket port listening for the plugin.

uuid: String

The uuid of the plugin.

event: String

The event the plugin should send to register with the Stream Deck software.

info: RegistrationInfo

Information about the environment the plugin is being loaded into.

Methods

impl RegistrationParams[src]

pub fn from_args<I: IntoIterator<Item = String>>(
    args: I
) -> Result<RegistrationParams, RegistrationParamsError>
[src]

Pull the registration parameters out of a command line.

Examples

RegistrationParams::from_args(env::args())

Trait Implementations

impl<'de> Deserialize<'de> for RegistrationParams[src]

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]