pub struct TaintedValue {
pub value: String,
pub labels: Vec<TaintLabel>,
}Expand description
A value carrying taint labels — knows where it has been and what it carries from the ring.
Fields§
§value: StringThe raw string value.
labels: Vec<TaintLabel>All taint labels attached to this value.
Trait Implementations§
Source§impl Clone for TaintedValue
impl Clone for TaintedValue
Source§fn clone(&self) -> TaintedValue
fn clone(&self) -> TaintedValue
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 TaintedValue
impl Debug for TaintedValue
Source§impl<'de> Deserialize<'de> for TaintedValue
impl<'de> Deserialize<'de> for TaintedValue
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 TaintedValue
impl RefUnwindSafe for TaintedValue
impl Send for TaintedValue
impl Sync for TaintedValue
impl Unpin for TaintedValue
impl UnsafeUnpin for TaintedValue
impl UnwindSafe for TaintedValue
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