Struct podman_rest_client::v5::models::SecretCreate
source · pub struct SecretCreate {
pub data: Option<String>,
pub driver: Option<SecretDriverSpec>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
}
Available on crate feature
v5
only.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 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