pub struct Secret {Show 16 fields
pub name: String,
pub arn: String,
pub description: String,
pub created_date: DateTime<Utc>,
pub last_changed_date: DateTime<Utc>,
pub versions: HashMap<String, SecretVersion>,
pub current_version_id: Option<String>,
pub deleted_date: Option<DateTime<Utc>>,
pub tags: HashMap<String, String>,
pub resource_policy: Option<String>,
pub rotation_enabled: Option<bool>,
pub rotation_lambda_arn: Option<String>,
pub rotation_rules: Option<RotationRules>,
pub last_rotated_date: Option<DateTime<Utc>>,
pub replication_status: Vec<ReplicationStatus>,
pub primary_region: Option<String>,
}Fields§
§name: String§arn: String§description: String§created_date: DateTime<Utc>§last_changed_date: DateTime<Utc>§versions: HashMap<String, SecretVersion>§current_version_id: Option<String>§deleted_date: Option<DateTime<Utc>>§resource_policy: Option<String>§rotation_enabled: Option<bool>§rotation_lambda_arn: Option<String>§rotation_rules: Option<RotationRules>§last_rotated_date: Option<DateTime<Utc>>§replication_status: Vec<ReplicationStatus>§primary_region: Option<String>Trait Implementations§
Source§impl From<&Secret> for SecretView
impl From<&Secret> for SecretView
Source§impl From<SecretView> for Secret
impl From<SecretView> for Secret
Source§fn from(v: SecretView) -> Self
fn from(v: SecretView) -> Self
Converts to this type from the input type.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.