Struct google_cloudfunctions1::api::SecretVersion
source · pub struct SecretVersion {
pub path: Option<String>,
pub version: Option<String>,
}
Expand description
Configuration for a single version.
This type is not used in any activity, and only used as part of another schema.
Fields§
§path: Option<String>
Relative path of the file under the mount path where the secret value for this version will be fetched and made available. For example, setting the mount_path as ‘/etc/secrets’ and path as /secret_foo
would mount the secret value file at /etc/secrets/secret_foo
.
version: Option<String>
Version of the secret (version number or the string ‘latest’). It is preferable to use latest
version with secret volumes as secret value changes are reflected immediately.
Trait Implementations§
source§impl Clone for SecretVersion
impl Clone for SecretVersion
source§fn clone(&self) -> SecretVersion
fn clone(&self) -> SecretVersion
Returns a copy 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 SecretVersion
impl Debug for SecretVersion
source§impl Default for SecretVersion
impl Default for SecretVersion
source§fn default() -> SecretVersion
fn default() -> SecretVersion
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SecretVersion
impl<'de> Deserialize<'de> for SecretVersion
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 SecretVersion
impl Serialize for SecretVersion
impl Part for SecretVersion
Auto Trait Implementations§
impl RefUnwindSafe for SecretVersion
impl Send for SecretVersion
impl Sync for SecretVersion
impl Unpin for SecretVersion
impl UnwindSafe for SecretVersion
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