pub struct ServiceSecretConfig {
pub source: Option<String>,
pub target: Option<String>,
pub uid: Option<String>,
pub gid: Option<String>,
pub mode: Option<i32>,
}Expand description
Service secret configuration.
Fields§
§source: Option<String>Source secret name
target: Option<String>Target path in container
uid: Option<String>UID
gid: Option<String>GID
mode: Option<i32>File mode
Trait Implementations§
Source§impl Clone for ServiceSecretConfig
impl Clone for ServiceSecretConfig
Source§fn clone(&self) -> ServiceSecretConfig
fn clone(&self) -> ServiceSecretConfig
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 ServiceSecretConfig
impl Debug for ServiceSecretConfig
Source§impl Default for ServiceSecretConfig
impl Default for ServiceSecretConfig
Source§fn default() -> ServiceSecretConfig
fn default() -> ServiceSecretConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServiceSecretConfig
impl<'de> Deserialize<'de> for ServiceSecretConfig
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 ServiceSecretConfig
impl RefUnwindSafe for ServiceSecretConfig
impl Send for ServiceSecretConfig
impl Sync for ServiceSecretConfig
impl Unpin for ServiceSecretConfig
impl UnwindSafe for ServiceSecretConfig
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