pub enum ServiceSecretRef {
Short(String),
Long {
source: String,
target: Option<String>,
uid: Option<String>,
gid: Option<String>,
mode: Option<u32>,
},
}Expand description
Reference to a named secret from a service — short form (name only) or long form with mount target.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ServiceSecretRef
impl Clone for ServiceSecretRef
Source§fn clone(&self) -> ServiceSecretRef
fn clone(&self) -> ServiceSecretRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServiceSecretRef
impl Debug for ServiceSecretRef
Source§impl<'de> Deserialize<'de> for ServiceSecretRef
impl<'de> Deserialize<'de> for ServiceSecretRef
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 ServiceSecretRef
impl RefUnwindSafe for ServiceSecretRef
impl Send for ServiceSecretRef
impl Sync for ServiceSecretRef
impl Unpin for ServiceSecretRef
impl UnsafeUnpin for ServiceSecretRef
impl UnwindSafe for ServiceSecretRef
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