#[non_exhaustive]pub enum RecordedValue {
Value {
value: Value,
},
Redacted {
digest: Digest,
redacted: bool,
},
}Expand description
A rejected literal and an accepted vault reference use the same redacted record. Neither the opaque reference id nor a literal is retained in views.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
Source§impl Clone for RecordedValue
impl Clone for RecordedValue
Source§impl Debug for RecordedValue
impl Debug for RecordedValue
Source§impl<'de> Deserialize<'de> for RecordedValue
impl<'de> Deserialize<'de> for RecordedValue
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 RecordedValue
impl PartialEq for RecordedValue
Source§impl Serialize for RecordedValue
impl Serialize for RecordedValue
impl StructuralPartialEq for RecordedValue
Auto Trait Implementations§
impl Forget for RecordedValue
impl Freeze for RecordedValue
impl Move for RecordedValue
impl RefUnwindSafe for RecordedValue
impl Send for RecordedValue
impl Sync for RecordedValue
impl Unpin for RecordedValue
impl UnsafeUnpin for RecordedValue
impl UnwindSafe for RecordedValue
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