keybase-protocol 0.1.1

Provides the Keybase types defined in the Keybase AVDL Protocol files for Rust.
Documentation
// Namespace: "gregor.1"
// Protocol: "incoming"
#![allow(dead_code)]
#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
#![allow(unused_imports)]
use serde::{Serialize, Deserialize};
use serde_repr::{Deserialize_repr, Serialize_repr};use super::*;

#[derive(Serialize, Deserialize, Debug)]
pub struct SyncResult {
  #[serde(default)]
  pub msgs: Option<Vec<InBandMessage>>,
  #[serde(default)]
  pub hash: Option<String>,
}









// @compression_type("none")








#[derive(Serialize, Deserialize, Debug)]
pub struct ConnectedDevice {
  pub deviceID: Option<DeviceID>,
  #[serde(default)]
  pub deviceType: Option<String>,
  #[serde(default)]
  pub devicePlatform: Option<String>,
  #[serde(default)]
  pub userAgent: Option<String>,
}

#[derive(Serialize, Deserialize, Debug)]
pub struct ConnectedUser {
  pub uid: Option<UID>,
  #[serde(default)]
  pub devices: Option<Vec<ConnectedDevice>>,
}