pub struct AdScriptAncestryBuilder { /* private fields */ }Expand description
Builder for AdScriptAncestry.
Implementations§
Source§impl AdScriptAncestryBuilder
impl AdScriptAncestryBuilder
Sourcepub fn ancestry_chain<VALUE: Into<Vec<AdScriptId>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn ancestry_chain<VALUE: Into<Vec<AdScriptId>>>( &mut self, value: VALUE, ) -> &mut Self
A chain of AdScriptIds representing the ancestry of an ad script that
led to the creation of a frame. The chain is ordered from the script
itself (lower level) up to its root ancestor that was flagged by
filterlist.
Sourcepub fn root_script_filterlist_rule<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn root_script_filterlist_rule<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
The filterlist rule that caused the root (last) script in
ancestryChain to be ad-tagged. Only populated if the rule is
available.
Sourcepub fn build(&self) -> Result<AdScriptAncestry, AdScriptAncestryBuilderError>
pub fn build(&self) -> Result<AdScriptAncestry, AdScriptAncestryBuilderError>
Trait Implementations§
Source§impl Clone for AdScriptAncestryBuilder
impl Clone for AdScriptAncestryBuilder
Source§fn clone(&self) -> AdScriptAncestryBuilder
fn clone(&self) -> AdScriptAncestryBuilder
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 AdScriptAncestryBuilder
impl RefUnwindSafe for AdScriptAncestryBuilder
impl Send for AdScriptAncestryBuilder
impl Sync for AdScriptAncestryBuilder
impl Unpin for AdScriptAncestryBuilder
impl UnsafeUnpin for AdScriptAncestryBuilder
impl UnwindSafe for AdScriptAncestryBuilder
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