[−][src]Struct streamdeck_rs::registration::RegistrationParams
Registration parameters provided to the plugin on startup.
Fields
port: u16The web socket port listening for the plugin.
uuid: StringThe uuid of the plugin.
event: StringThe event the plugin should send to register with the Stream Deck software.
info: RegistrationInfoInformation 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]
args: I
) -> Result<RegistrationParams, RegistrationParamsError>
Pull the registration parameters out of a command line.
Examples
RegistrationParams::from_args(env::args())
Trait Implementations
impl<'de> Deserialize<'de> for RegistrationParams[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for RegistrationParams
impl Sync for RegistrationParams
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
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]
T: Send + Sync + UnwindSafe + ?Sized,