Enum analytics_proto::proto1::Message
[−]
[src]
pub enum Message { AllChannels { total_channels: usize, success: bool, }, MostRecentMessages { num_messages: usize, success: bool, }, MoreMessages { num_requested: usize, num_sent: usize, success: bool, }, SendMessage { message_length: usize, success: bool, }, CreateChannel { channel_name_length: usize, success: bool, }, }
Variants
AllChannels
JSON Example:
{"received_time":"2017-04-11T04:29:16.064185621Z","serviced_time":"2017-04-11T04:29:16.064188591Z","message":{"AllChannels":{"total_channels":5,"success":true}}}
Fields of AllChannels
total_channels: usize | |
success: bool |
MostRecentMessages
JSON Example:
{"received_time":"2017-04-11T04:29:16.064324152Z","serviced_time":"2017-04-11T04:29:16.064324934Z","message":{"MostRecentMessages":{"num_messages":8,"success":true}}}
Fields of MostRecentMessages
num_messages: usize | |
success: bool |
MoreMessages
JSON Example:
{"received_time":"2017-04-11T04:29:16.064422755Z","serviced_time":"2017-04-11T04:29:16.064423786Z","message":{"MoreMessages":{"num_requested":5,"num_sent":0,"success":false}}}
Fields of MoreMessages
num_requested: usize | |
num_sent: usize | |
success: bool |
SendMessage
JSON Example:
{"received_time":"2017-04-11T04:29:16.064537018Z","serviced_time":"2017-04-11T04:29:16.064537698Z","message":{"SendMessage":{"message_length":87,"success":true}}}
Fields of SendMessage
message_length: usize | |
success: bool |
CreateChannel
JSON Example:
{"received_time":"2017-04-11T04:29:16.064613838Z","serviced_time":"2017-04-11T04:29:16.064614475Z","message":{"CreateChannel":{"channel_name_length":7,"success":true}}}
Fields of CreateChannel
channel_name_length: usize | |
success: bool |
Trait Implementations
impl Debug for Message
[src]
impl Clone for Message
[src]
fn clone(&self) -> Message
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more