pub struct TaintAnnotations {
pub escape: Vec<Arc<str>>,
pub unescape: Vec<Arc<str>>,
pub flow_params: Vec<Arc<str>>,
}Expand description
@taint-escape, @taint-unescape and @psalm-flow on a function or method.
Fields§
§escape: Vec<Arc<str>>Sink kinds the return value no longer carries.
unescape: Vec<Arc<str>>Sink kinds the return value regains from tainted arguments.
flow_params: Vec<Arc<str>>Parameters whose taint flows into the return value.
Trait Implementations§
Source§impl Clone for TaintAnnotations
impl Clone for TaintAnnotations
Source§impl Debug for TaintAnnotations
impl Debug for TaintAnnotations
Source§impl Default for TaintAnnotations
impl Default for TaintAnnotations
Source§impl<'de> Deserialize<'de> for TaintAnnotations
impl<'de> Deserialize<'de> for TaintAnnotations
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
impl Eq for TaintAnnotations
Source§impl PartialEq for TaintAnnotations
impl PartialEq for TaintAnnotations
Source§impl Serialize for TaintAnnotations
impl Serialize for TaintAnnotations
impl StructuralPartialEq for TaintAnnotations
Auto Trait Implementations§
impl Freeze for TaintAnnotations
impl RefUnwindSafe for TaintAnnotations
impl Send for TaintAnnotations
impl Sync for TaintAnnotations
impl Unpin for TaintAnnotations
impl UnsafeUnpin for TaintAnnotations
impl UnwindSafe for TaintAnnotations
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.