Enum rust_tuyapi::Payload [−][src]
pub enum Payload {
Struct(PayloadStruct),
String(String),
}Expand description
The Payload enum represents a payload sent to, and recevied from the Tuya devices. It might be a struct (ser/de from json) or a plain string.
Variants
Struct(PayloadStruct)Tuple Fields of Struct
String(String)Tuple Fields of String
0: StringImplementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Payload
impl UnwindSafe for Payload
Blanket Implementations
Mutably borrows from an owned value. Read more