pub struct ApiKeys {
pub twitter: Option<String>,
pub exa: Option<String>,
pub dexscreener: Option<String>,
pub newsapi: Option<String>,
pub cryptopanic: Option<String>,
pub lunarcrush: Option<String>,
pub alternative: Option<String>,
pub other: HashMap<String, String>,
}Expand description
Type-safe API keys configuration
Fields§
§twitter: Option<String>Twitter/X Bearer Token
exa: Option<String>Exa API key
dexscreener: Option<String>DexScreener API key (optional)
newsapi: Option<String>NewsAPI key
cryptopanic: Option<String>CryptoPanic API key
lunarcrush: Option<String>LunarCrush API key
alternative: Option<String>Alternative data API key
other: HashMap<String, String>Generic fallback for other services
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApiKeys
impl RefUnwindSafe for ApiKeys
impl Send for ApiKeys
impl Sync for ApiKeys
impl Unpin for ApiKeys
impl UnwindSafe for ApiKeys
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more