pub enum RemoteGcpCredentials {
AccessToken(String),
}Expand description
The only GCP credential form remote binding resolution can return.
JSON schema
{
"description": "The only GCP credential form remote binding resolution can return.",
"oneOf": [
{
"description": "Short-lived OAuth access token. Its expiry is the response `expiresAt`.",
"type": "object",
"required": [
"token",
"type"
],
"properties": {
"token": {
"description": "OAuth bearer token.",
"type": "string"
},
"type": {
"type": "string",
"enum": [
"accessToken"
]
}
}
}
]
}Variants§
Trait Implementations§
Source§impl Clone for RemoteGcpCredentials
impl Clone for RemoteGcpCredentials
Source§fn clone(&self) -> RemoteGcpCredentials
fn clone(&self) -> RemoteGcpCredentials
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RemoteGcpCredentials
impl Debug for RemoteGcpCredentials
Source§impl<'de> Deserialize<'de> for RemoteGcpCredentials
impl<'de> Deserialize<'de> for RemoteGcpCredentials
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<&RemoteGcpCredentials> for RemoteGcpCredentials
impl From<&RemoteGcpCredentials> for RemoteGcpCredentials
Source§fn from(value: &RemoteGcpCredentials) -> Self
fn from(value: &RemoteGcpCredentials) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RemoteGcpCredentials
impl RefUnwindSafe for RemoteGcpCredentials
impl Send for RemoteGcpCredentials
impl Sync for RemoteGcpCredentials
impl Unpin for RemoteGcpCredentials
impl UnsafeUnpin for RemoteGcpCredentials
impl UnwindSafe for RemoteGcpCredentials
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