pub struct SecretCreate {
pub name: String,
pub value: String,
pub metadata: String,
pub description: String,
pub vault_id: String,
}Fields§
§name: StringName of secret
value: StringValue of secret
metadata: StringArbitrary user-defined metadata for this Secret
description: Stringdescription of Secret
vault_id: Stringunique identifier of the referenced vault
Trait Implementations§
Source§impl Clone for SecretCreate
impl Clone for SecretCreate
Source§fn clone(&self) -> SecretCreate
fn clone(&self) -> SecretCreate
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 SecretCreate
impl Debug for SecretCreate
Source§impl Default for SecretCreate
impl Default for SecretCreate
Source§fn default() -> SecretCreate
fn default() -> SecretCreate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretCreate
impl<'de> Deserialize<'de> for SecretCreate
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 SecretCreate
impl RefUnwindSafe for SecretCreate
impl Send for SecretCreate
impl Sync for SecretCreate
impl Unpin for SecretCreate
impl UnwindSafe for SecretCreate
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