#![allow(dead_code)]
pub struct GoogleConfig {
pub api_key: String,
}
impl GoogleConfig {
pub fn new<S: Into<String>>(api_key: S) -> Self {
Self {
api_key: api_key.into(),
}
}
}
pub struct GoogleProvider {
config: GoogleConfig,
}
impl GoogleProvider {
pub fn new(config: GoogleConfig) -> Result<Self, aix_core::error::AixError> {
Ok(Self { config })
}
}
impl std::fmt::Display for GoogleProvider {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "GoogleProvider (placeholder)")
}
}