pub enum RevivedValue {
Value(Value),
String(String),
Constructor(ConstructorInfo),
None,
}Expand description
Result of reviving a JSON value.
Variants§
Value(Value)
A simple value (unchanged from input).
String(String)
A string value (typically a resolved secret).
Constructor(ConstructorInfo)
A constructor to instantiate.
None
No value (for ignored unserializable fields or missing secrets).
Implementations§
Trait Implementations§
Source§impl Clone for RevivedValue
impl Clone for RevivedValue
Source§fn clone(&self) -> RevivedValue
fn clone(&self) -> RevivedValue
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 moreAuto Trait Implementations§
impl Freeze for RevivedValue
impl RefUnwindSafe for RevivedValue
impl Send for RevivedValue
impl Sync for RevivedValue
impl Unpin for RevivedValue
impl UnwindSafe for RevivedValue
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