pub struct SecretSpec {
pub driver: Option<Box<SecretDriverSpec>>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
}
Fields§
§driver: Option<Box<SecretDriverSpec>>
§labels: Option<HashMap<String, String>>
§name: Option<String>
Implementations§
Source§impl SecretSpec
impl SecretSpec
pub fn new() -> SecretSpec
Trait Implementations§
Source§impl Clone for SecretSpec
impl Clone for SecretSpec
Source§fn clone(&self) -> SecretSpec
fn clone(&self) -> SecretSpec
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 SecretSpec
impl Debug for SecretSpec
Source§impl Default for SecretSpec
impl Default for SecretSpec
Source§fn default() -> SecretSpec
fn default() -> SecretSpec
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SecretSpec
impl<'de> Deserialize<'de> for SecretSpec
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 SecretSpec
impl PartialEq for SecretSpec
Source§impl Serialize for SecretSpec
impl Serialize for SecretSpec
impl StructuralPartialEq for SecretSpec
Auto Trait Implementations§
impl Freeze for SecretSpec
impl RefUnwindSafe for SecretSpec
impl Send for SecretSpec
impl Sync for SecretSpec
impl Unpin for SecretSpec
impl UnwindSafe for SecretSpec
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