pub struct AwsCredentialsSecret {
pub id: Option<Uuid>,
pub owner_id: Option<Uuid>,
pub name: Option<String>,
pub secret_type: Option<Box<SecretType>>,
pub created: Option<String>,
pub used_by: Option<Value>,
pub access_key: Option<String>,
pub secret_key: Option<String>,
}
Fields§
§id: Option<Uuid>
Secret ID
owner_id: Option<Uuid>
ID of the user who owns the secret
name: Option<String>
Secret name
secret_type: Option<Box<SecretType>>
§created: Option<String>
Date/time when the secret was created
used_by: Option<Value>
Map of resources that use this secret (ID => type)
access_key: Option<String>
AWS access key
secret_key: Option<String>
AWS secret key
Implementations§
source§impl AwsCredentialsSecret
impl AwsCredentialsSecret
pub fn new() -> AwsCredentialsSecret
Trait Implementations§
source§impl Clone for AwsCredentialsSecret
impl Clone for AwsCredentialsSecret
source§fn clone(&self) -> AwsCredentialsSecret
fn clone(&self) -> AwsCredentialsSecret
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 AwsCredentialsSecret
impl Debug for AwsCredentialsSecret
source§impl<'de> Deserialize<'de> for AwsCredentialsSecret
impl<'de> Deserialize<'de> for AwsCredentialsSecret
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 PartialEq for AwsCredentialsSecret
impl PartialEq for AwsCredentialsSecret
source§fn eq(&self, other: &AwsCredentialsSecret) -> bool
fn eq(&self, other: &AwsCredentialsSecret) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AwsCredentialsSecret
impl Serialize for AwsCredentialsSecret
impl StructuralPartialEq for AwsCredentialsSecret
Auto Trait Implementations§
impl RefUnwindSafe for AwsCredentialsSecret
impl Send for AwsCredentialsSecret
impl Sync for AwsCredentialsSecret
impl Unpin for AwsCredentialsSecret
impl UnwindSafe for AwsCredentialsSecret
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