pub struct AdAncestry {
pub ancestry_chain: Vec<AdScriptIdentifier>,
pub root_script_filterlist_rule: Option<String>,
}Expand description
Encapsulates the script ancestry and the root script filter list rule that caused the resource or element to be labeled as an ad.
Experimental: may change without notice.
Fields§
§ancestry_chain: Vec<AdScriptIdentifier>A chain of AdScriptIdentifiers representing the ancestry of an ad script
that led to the creation of a resource or element. The chain is ordered
from the script itself (lowest level) up to its root ancestor that was
flagged by a filter list.
root_script_filterlist_rule: Option<String>The filter list rule that caused the root (last) script in ancestryChain
to be tagged as an ad.
Trait Implementations§
Source§impl Clone for AdAncestry
impl Clone for AdAncestry
Source§impl Debug for AdAncestry
impl Debug for AdAncestry
Source§impl Default for AdAncestry
impl Default for AdAncestry
Source§impl<'de> Deserialize<'de> for AdAncestry
impl<'de> Deserialize<'de> for AdAncestry
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 AdAncestry
impl PartialEq for AdAncestry
Source§impl Serialize for AdAncestry
impl Serialize for AdAncestry
impl StructuralPartialEq for AdAncestry
Auto Trait Implementations§
impl Forget for AdAncestry
impl Freeze for AdAncestry
impl RefUnwindSafe for AdAncestry
impl Send for AdAncestry
impl Sync for AdAncestry
impl Unpin for AdAncestry
impl UnsafeUnpin for AdAncestry
impl UnwindSafe for AdAncestry
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