pub enum EntryValue {
Value(Value),
Secret(SecretState),
Unset,
}Expand description
What get/list report for a key.
Variants§
Value(Value)
The effective value.
Secret(SecretState)
A secret: only whether it is set.
Unset
No value and no default.
Trait Implementations§
Source§impl Clone for EntryValue
impl Clone for EntryValue
Source§fn clone(&self) -> EntryValue
fn clone(&self) -> EntryValue
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 EntryValue
impl Debug for EntryValue
Source§impl<'de> Deserialize<'de> for EntryValue
impl<'de> Deserialize<'de> for EntryValue
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EntryValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EntryValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EntryValue
impl PartialEq for EntryValue
Source§impl Serialize for EntryValue
impl Serialize for EntryValue
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for EntryValue
Auto Trait Implementations§
impl Forget for EntryValue
impl Freeze for EntryValue
impl Move for EntryValue
impl RefUnwindSafe for EntryValue
impl Send for EntryValue
impl Sync for EntryValue
impl Unpin for EntryValue
impl UnsafeUnpin for EntryValue
impl UnwindSafe for EntryValue
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