pub struct Secret {Show 18 fields
pub name: String,
pub arn: String,
pub description: Option<String>,
pub kms_key_id: Option<String>,
pub versions: HashMap<String, SecretVersion>,
pub current_version_id: Option<String>,
pub tags: Vec<(String, String)>,
pub tags_ever_set: bool,
pub deleted: bool,
pub deletion_date: Option<DateTime<Utc>>,
pub created_at: DateTime<Utc>,
pub last_changed_at: DateTime<Utc>,
pub last_accessed_at: Option<DateTime<Utc>>,
pub rotation_enabled: Option<bool>,
pub rotation_lambda_arn: Option<String>,
pub rotation_rules: Option<RotationRules>,
pub last_rotated_at: Option<DateTime<Utc>>,
pub resource_policy: Option<String>,
}Fields§
§name: String§arn: String§description: Option<String>§kms_key_id: Option<String>§versions: HashMap<String, SecretVersion>§current_version_id: Option<String>§deleted: bool§deletion_date: Option<DateTime<Utc>>§created_at: DateTime<Utc>§last_changed_at: DateTime<Utc>§last_accessed_at: Option<DateTime<Utc>>§rotation_enabled: Option<bool>§rotation_lambda_arn: Option<String>§rotation_rules: Option<RotationRules>§last_rotated_at: Option<DateTime<Utc>>§resource_policy: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Secret
impl<'de> Deserialize<'de> for Secret
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 Secret
impl RefUnwindSafe for Secret
impl Send for Secret
impl Sync for Secret
impl Unpin for Secret
impl UnsafeUnpin for Secret
impl UnwindSafe for Secret
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