pub enum ServiceSecret {
Simple(String),
Full(ServiceSecretConfig),
}Expand description
Service secret reference.
Variants§
Trait Implementations§
Source§impl Clone for ServiceSecret
impl Clone for ServiceSecret
Source§fn clone(&self) -> ServiceSecret
fn clone(&self) -> ServiceSecret
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 ServiceSecret
impl Debug for ServiceSecret
Source§impl<'de> Deserialize<'de> for ServiceSecret
impl<'de> Deserialize<'de> for ServiceSecret
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 ServiceSecret
impl RefUnwindSafe for ServiceSecret
impl Send for ServiceSecret
impl Sync for ServiceSecret
impl Unpin for ServiceSecret
impl UnwindSafe for ServiceSecret
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