use derive_more::{Display, From, FromStr, Into};
#[derive(Display, From, FromStr, Into, Debug, Clone, PartialEq, Eq, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct BearerToken(String);
impl BearerToken {
pub fn new(token: impl Into<String>) -> Self {
Self(token.into())
}
}