pub struct GoogleCredentialsSecretBase {
pub project_id: Option<String>,
pub client_email: Option<String>,
pub client_id: Option<String>,
pub private_key: Option<String>,
pub secret_type: Option<Box<SecretType>>,
}
Fields§
§project_id: Option<String>
Google Cloud project ID
client_email: Option<String>
Google Cloud client email
client_id: Option<String>
Google Cloud client ID
private_key: Option<String>
Base-64 encoded Google Cloud private key
secret_type: Option<Box<SecretType>>
Implementations§
Source§impl GoogleCredentialsSecretBase
impl GoogleCredentialsSecretBase
pub fn new() -> GoogleCredentialsSecretBase
Trait Implementations§
Source§impl Clone for GoogleCredentialsSecretBase
impl Clone for GoogleCredentialsSecretBase
Source§fn clone(&self) -> GoogleCredentialsSecretBase
fn clone(&self) -> GoogleCredentialsSecretBase
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GoogleCredentialsSecretBase
impl Debug for GoogleCredentialsSecretBase
Source§impl<'de> Deserialize<'de> for GoogleCredentialsSecretBase
impl<'de> Deserialize<'de> for GoogleCredentialsSecretBase
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
impl StructuralPartialEq for GoogleCredentialsSecretBase
Auto Trait Implementations§
impl Freeze for GoogleCredentialsSecretBase
impl RefUnwindSafe for GoogleCredentialsSecretBase
impl Send for GoogleCredentialsSecretBase
impl Sync for GoogleCredentialsSecretBase
impl Unpin for GoogleCredentialsSecretBase
impl UnwindSafe for GoogleCredentialsSecretBase
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