pub struct AdAncestry {
pub ancestryChain: Vec<AdScriptIdentifier>,
pub rootScriptFilterlistRule: 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.
Fields§
§ancestryChain: Vec<AdScriptIdentifier>A chain of ’AdScriptIdentifier’s 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.
rootScriptFilterlistRule: 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§fn clone(&self) -> AdAncestry
fn clone(&self) -> AdAncestry
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 AdAncestry
impl Debug for AdAncestry
Source§impl Default for AdAncestry
impl Default for AdAncestry
Source§fn default() -> AdAncestry
fn default() -> AdAncestry
Returns the “default value” for a type. Read more
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
Auto Trait Implementations§
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