Struct podman_autogen_api::models::secret_create::SecretCreate   
source · 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 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 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§fn eq(&self, other: &SecretCreate) -> bool
 
fn eq(&self, other: &SecretCreate) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)