forge
Explore
Log in

Don't you dare go Hollow

yumush

Clone
★ 0

0 watching0 forksRustAGPL-3.06.8 MiB27ceb05Tahinli8 hours ago399 commits

session.rs16 lines, 349 bytesHistoryRawDownload
1use bitcode::{Decode, Encode};
2
3use crate::model::User;
4
5#[derive(Debug, Clone, Encode, Decode)]
6pub struct Hello {
7 pub token: Option<String>,
8 pub device: String,
9 pub build: Option<crate::update::Sha>,
10 pub install: crate::update::Install,
11}
12
13#[derive(Debug, Clone, Encode, Decode)]
14pub struct Welcome {
15 pub user: Option<User>,
16}