Struct string_telephone::packet::Packet
[-]
[+]
[src]
pub struct Packet {
pub protocol_id: u32,
pub sequence_id: u16,
pub packet_type: PacketType,
pub packet_content: Option<Vec<u8>>,
}The underlying shape for transferring data.
Fields
protocol_id | |
sequence_id | The current id of the packet |
packet_type | |
packet_content | Serialized user data goes in here |