pub struct SecretCreate {
pub data: Option<String>,
pub driver: Option<Box<SecretDriverSpec>>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
}
Fields§
§data: Option<String>
Base64-url-safe-encoded (RFC 4648) data to store as secret.
driver: Option<Box<SecretDriverSpec>>
§labels: Option<HashMap<String, String>>
Labels are labels on the secret
name: Option<String>
User-defined name of the secret.
Implementations§
Source§impl SecretCreate
impl SecretCreate
pub fn new() -> SecretCreate
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
Source§impl PartialEq for SecretCreate
impl PartialEq for SecretCreate
Source§impl Serialize for SecretCreate
impl Serialize for SecretCreate
impl StructuralPartialEq for SecretCreate
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