1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
//! A structured representation of a JWT.

pub mod signed;
pub mod verified;

pub struct Unsigned;

pub struct Signed {
    pub token_string: String,
}

pub struct Verified;

pub struct Unverified<'a> {
    pub header_str: &'a str,
    pub claims_str: &'a str,
    pub signature_str: &'a str,
}