pub enum ComposeSecret {
File(String),
Environment(String),
External {
external: bool,
name: String,
},
}
Variants§
Trait Implementations§
source§impl Clone for ComposeSecret
impl Clone for ComposeSecret
source§fn clone(&self) -> ComposeSecret
fn clone(&self) -> ComposeSecret
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 ComposeSecret
impl Debug for ComposeSecret
source§impl<'de> Deserialize<'de> for ComposeSecret
impl<'de> Deserialize<'de> for ComposeSecret
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 ComposeSecret
impl PartialEq for ComposeSecret
source§fn eq(&self, other: &ComposeSecret) -> bool
fn eq(&self, other: &ComposeSecret) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ComposeSecret
impl Serialize for ComposeSecret
impl StructuralPartialEq for ComposeSecret
Auto Trait Implementations§
impl Freeze for ComposeSecret
impl RefUnwindSafe for ComposeSecret
impl Send for ComposeSecret
impl Sync for ComposeSecret
impl Unpin for ComposeSecret
impl UnwindSafe for ComposeSecret
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