[][src]Module vk_token_manager::token

This crate introduces 2 things: The trait for tokens. (GetToken) and Newtype over String for tokens. (Token)

Example

use token_manager::{Token};
let token = Token::new("token-some".into());

Structs

Token

New type over String for Token type.

Traits

GetToken

Trait that marks object that it has token. It can be anything like: one token, pool of tokens, so on