pub struct CreateSecretResponse {
pub arn: Option<String>,
pub name: Option<String>,
pub version_id: Option<String>,
}
Fields§
§arn: Option<String>
The Amazon Resource Name (ARN) of the secret that you just created.
Secrets Manager automatically adds several random characters to the name at the end of the ARN when you initially create a secret. This affects only the ARN and not the actual friendly name. This ensures that if you create a new secret with the same name as an old secret that you previously deleted, then users with access to the old secret don't automatically get access to the new secret because the ARNs are different.
name: Option<String>
The friendly name of the secret that you just created.
version_id: Option<String>
The unique identifier associated with the version of the secret you just created.
Trait Implementations§
Source§impl Clone for CreateSecretResponse
impl Clone for CreateSecretResponse
Source§fn clone(&self) -> CreateSecretResponse
fn clone(&self) -> CreateSecretResponse
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 Debug for CreateSecretResponse
impl Debug for CreateSecretResponse
Source§impl Default for CreateSecretResponse
impl Default for CreateSecretResponse
Source§fn default() -> CreateSecretResponse
fn default() -> CreateSecretResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateSecretResponse
impl<'de> Deserialize<'de> for CreateSecretResponse
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 CreateSecretResponse
impl PartialEq for CreateSecretResponse
impl StructuralPartialEq for CreateSecretResponse
Auto Trait Implementations§
impl Freeze for CreateSecretResponse
impl RefUnwindSafe for CreateSecretResponse
impl Send for CreateSecretResponse
impl Sync for CreateSecretResponse
impl Unpin for CreateSecretResponse
impl UnwindSafe for CreateSecretResponse
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