pub struct GcpConfig {
pub project_id: String,
pub auth: GcpAuth,
pub service_account_key_json: Option<String>,
}Fields§
§project_id: String§auth: GcpAuth§service_account_key_json: Option<String>The full contents of a service-account key JSON file. Required only when
auth is service_account_key; never read back out.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GcpConfig
impl<'de> Deserialize<'de> for GcpConfig
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
Auto Trait Implementations§
impl Freeze for GcpConfig
impl RefUnwindSafe for GcpConfig
impl Send for GcpConfig
impl Sync for GcpConfig
impl Unpin for GcpConfig
impl UnsafeUnpin for GcpConfig
impl UnwindSafe for GcpConfig
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