pub struct SecretCreate {
pub data: Option<String>,
pub driver: Option<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<SecretDriverSpec>
§labels: Option<HashMap<String, String>>
Labels are labels on the secret
name: Option<String>
User-defined name of the secret.
Trait Implementations§
Source§impl Clone for SecretCreate
impl Clone for SecretCreate
Source§fn clone(&self) -> SecretCreate
fn clone(&self) -> SecretCreate
Returns a copy 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<'de> Deserialize<'de> for SecretCreate
impl<'de> Deserialize<'de> for SecretCreate
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SecretCreate, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SecretCreate, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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