notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

route.rs (331B)


      1 use super::{AccountLoginResponse, AccountsViewResponse};
      2 use serde::{Deserialize, Serialize};
      3 
      4 pub enum AccountsRouteResponse {
      5     Accounts(AccountsViewResponse),
      6     AddAccount(AccountLoginResponse),
      7 }
      8 
      9 #[derive(Debug, Eq, PartialEq, Clone, Copy, Serialize, Deserialize)]
     10 pub enum AccountsRoute {
     11     Accounts,
     12     AddAccount,
     13 }