pub struct PackConnectionGoogleServiceAccountCredentials {
pub service_account_key: String,
pub type_: PackConnectionGoogleServiceAccountCredentialsType,
}
Expand description
PackConnectionGoogleServiceAccountCredentials
JSON schema
{
"type": "object",
"required": [
"serviceAccountKey",
"type"
],
"properties": {
"serviceAccountKey": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"googleServiceAccount"
],
"x-tsType": "PackConnectionType.GoogleServiceAccount"
}
},
"additionalProperties": false,
"x-schema-name": "PackConnectionGoogleServiceAccountCredentials"
}
Fields§
§service_account_key: String
§type_: PackConnectionGoogleServiceAccountCredentialsType
Trait Implementations§
Source§impl Clone for PackConnectionGoogleServiceAccountCredentials
impl Clone for PackConnectionGoogleServiceAccountCredentials
Source§fn clone(&self) -> PackConnectionGoogleServiceAccountCredentials
fn clone(&self) -> PackConnectionGoogleServiceAccountCredentials
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<'de> Deserialize<'de> for PackConnectionGoogleServiceAccountCredentials
impl<'de> Deserialize<'de> for PackConnectionGoogleServiceAccountCredentials
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 From<&PackConnectionGoogleServiceAccountCredentials> for PackConnectionGoogleServiceAccountCredentials
impl From<&PackConnectionGoogleServiceAccountCredentials> for PackConnectionGoogleServiceAccountCredentials
Source§fn from(value: &PackConnectionGoogleServiceAccountCredentials) -> Self
fn from(value: &PackConnectionGoogleServiceAccountCredentials) -> Self
Converts to this type from the input type.
Source§impl From<PackConnectionGoogleServiceAccountCredentials> for PackSystemConnectionCredentials
impl From<PackConnectionGoogleServiceAccountCredentials> for PackSystemConnectionCredentials
Source§fn from(value: PackConnectionGoogleServiceAccountCredentials) -> Self
fn from(value: PackConnectionGoogleServiceAccountCredentials) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PackConnectionGoogleServiceAccountCredentials
impl RefUnwindSafe for PackConnectionGoogleServiceAccountCredentials
impl Send for PackConnectionGoogleServiceAccountCredentials
impl Sync for PackConnectionGoogleServiceAccountCredentials
impl Unpin for PackConnectionGoogleServiceAccountCredentials
impl UnwindSafe for PackConnectionGoogleServiceAccountCredentials
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