eve-esi-api 0.0.4

This library provides an authentication to Eve-esi API and some endpoints to call.
Documentation
use serde::{Deserialize, Serialize};

use crate::Int32;

#[derive(Deserialize, Serialize, Debug, Clone, PartialEq, Eq)]
pub struct Region {
    pub region_id: Int32,
    pub name: String,

    pub constellations: Vec<Int32>,
    pub description: Option<String>,
}

// TODO remove ? not belongs in lib
impl Region {
    pub fn lazy(id: Int32) -> Self {
        Region {
            region_id: id,
            name: format!("<{}>", id),
            constellations: vec![],
            description: None,
        }
    }
}