pub struct SecretWithValueAndInheritance {
pub id: String,
pub key: String,
pub description: Option<String>,
pub environment_id: String,
pub secret_type: Option<String>,
pub version: i32,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub value: String,
pub inherited_from: Option<String>,
}Expand description
A secret with value and inheritance information.
Fields§
§id: StringSecret ID.
key: StringSecret key name.
description: Option<String>Secret description.
environment_id: StringEnvironment ID this secret belongs to.
secret_type: Option<String>Type of secret.
version: i32Version number.
created_at: DateTime<Utc>When the secret was created.
updated_at: DateTime<Utc>When the secret was last updated.
value: StringThe decrypted secret value.
inherited_from: Option<String>Environment name this secret was inherited from.
Trait Implementations§
Source§impl Clone for SecretWithValueAndInheritance
impl Clone for SecretWithValueAndInheritance
Source§fn clone(&self) -> SecretWithValueAndInheritance
fn clone(&self) -> SecretWithValueAndInheritance
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 SecretWithValueAndInheritance
impl<'de> Deserialize<'de> for SecretWithValueAndInheritance
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 SecretWithValueAndInheritance
impl RefUnwindSafe for SecretWithValueAndInheritance
impl Send for SecretWithValueAndInheritance
impl Sync for SecretWithValueAndInheritance
impl Unpin for SecretWithValueAndInheritance
impl UnwindSafe for SecretWithValueAndInheritance
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