pub enum ProfileVariable {
StringValue(String),
PassSecret {
pass: String,
cache: RefCell<Option<String>>,
},
OnePasswordSecret {
onepassword: String,
cache: RefCell<Option<String>>,
},
Request {
request: String,
},
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ProfileVariable
impl Clone for ProfileVariable
Source§fn clone(&self) -> ProfileVariable
fn clone(&self) -> ProfileVariable
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProfileVariable
impl Debug for ProfileVariable
Source§impl<'de> Deserialize<'de> for ProfileVariable
impl<'de> Deserialize<'de> for ProfileVariable
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 ProfileVariable
impl PartialEq for ProfileVariable
Source§impl Serialize for ProfileVariable
impl Serialize for ProfileVariable
impl Eq for ProfileVariable
impl StructuralPartialEq for ProfileVariable
Auto Trait Implementations§
impl !Freeze for ProfileVariable
impl !RefUnwindSafe for ProfileVariable
impl Send for ProfileVariable
impl !Sync for ProfileVariable
impl Unpin for ProfileVariable
impl UnwindSafe for ProfileVariable
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.