shuttle-common 0.57.0

Common library for the Shuttle platform (shuttle.dev)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

#[derive(Deserialize, Serialize)]
pub struct TokenMessage {
    /// The token of this sign in request
    pub token: String,
    /// The Console URL where this token can be authorized
    pub url: Option<String>,
}

#[derive(Deserialize, Serialize)]
pub struct KeyMessage {
    pub api_key: String,
}