freedom_models/
lib.rs

1#![doc = include_str!("../README.md")]
2
3pub mod account;
4pub mod azel;
5pub mod band;
6pub mod error;
7#[cfg(feature = "serde")]
8pub mod pagination;
9pub mod satellite;
10pub mod satellite_configuration;
11pub mod site;
12pub mod status;
13pub mod task;
14pub mod user;
15#[cfg(feature = "serde")]
16pub mod utils;
17
18use std::collections::HashMap;
19
20/// A trait for navigating the Hateoas structure of Freedom models
21pub trait Hateoas {
22    fn get_links(&self) -> &HashMap<String, url::Url>;
23
24    fn get_links_mut(&mut self) -> &mut HashMap<String, url::Url>;
25}