1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
use nutype::nutype; /// Link relation type /// /// <https://www.rfc-editor.org/rfc/rfc7033.html#section-4.4.4.1> #[nutype(derive( Debug, Display, Clone, From, Into, FromStr, Display, Serialize, Deserialize, AsRef, Deref, PartialEq, Eq, ))] pub struct Rel(String);