Struct sota::rvi::services::RviMessage
[−]
[src]
pub struct RviMessage<E: Encodable> { pub service_name: String, pub parameters: Vec<E>, pub timeout: Option<i64>, }
Fields
service_name | |
parameters | |
timeout |
Methods
impl<E: Encodable> RviMessage<E>
[src]
fn new(service: &str, parameters: Vec<E>, expire_in: i64) -> RviMessage<E>
Trait Implementations
Derived Implementations
impl<E: Encodable + Encodable> Encodable for RviMessage<E>
[src]
fn encode<__SE: Encoder>(&self, __arg_0: &mut __SE) -> Result<(), __SE::Error>
Serialize a value using an Encoder
.
impl<E: Decodable + Encodable> Decodable for RviMessage<E>
[src]
fn decode<__DE: Decoder>(__arg_0: &mut __DE) -> Result<RviMessage<E>, __DE::Error>
Deserialize a value using a Decoder
.