pub struct GoogleConfig {
pub google_credentials_file: Option<PathBuf>,
pub google_credentials_json: Option<String>,
pub google_project: Option<String>,
}Fields§
§google_credentials_file: Option<PathBuf>§google_credentials_json: Option<String>§google_project: Option<String>Trait Implementations§
Source§impl Debug for GoogleConfig
impl Debug for GoogleConfig
Source§impl Default for GoogleConfig
impl Default for GoogleConfig
Source§fn default() -> GoogleConfig
fn default() -> GoogleConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleConfig
impl<'de> Deserialize<'de> for GoogleConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for GoogleConfig
impl Serialize for GoogleConfig
Source§impl Vault for GoogleConfig
impl Vault for GoogleConfig
fn download_prefixed<'life0, 'life1, 'async_trait>(
&'life0 self,
prefix: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<(String, String)>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn download_json<'life0, 'life1, 'async_trait>(
&'life0 self,
secret_name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<(String, String)>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§impl VaultConfig for GoogleConfig
impl VaultConfig for GoogleConfig
type Vault = GoogleConfig
fn into_vault(self) -> Result<Self::Vault>
Auto Trait Implementations§
impl Freeze for GoogleConfig
impl RefUnwindSafe for GoogleConfig
impl Send for GoogleConfig
impl Sync for GoogleConfig
impl Unpin for GoogleConfig
impl UnwindSafe for GoogleConfig
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more