aboutsummaryrefslogtreecommitdiff
path: root/src/re_server/cmd/structure.rs
blob: 85c228860ded4492e3a955933e6c51cb5d5be809 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
pub struct Command {
  pub length: i32,
  pub obj_id: i32,
  pub id:     i32,
  pub body:   Vec<u8>,
}
impl Command {
  pub fn _new() -> Self { Command::default() }
}
impl Default for Command {
  fn default() -> Self {
    Command {
      length: 0,
      obj_id: 0,
      id:     0,
      body:   vec![],
    }
  }
}