pub struct SetBlackboxPatternsBuilder { /* private fields */ }Expand description
Builder for SetBlackboxPatterns.
Implementations§
Source§impl SetBlackboxPatternsBuilder
impl SetBlackboxPatternsBuilder
Sourcepub fn patterns<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn patterns<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
Array of regexps that will be used to check script url for blackbox state.
Sourcepub fn skip_anonymous<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn skip_anonymous<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If true, also ignore scripts with no source url.
Sourcepub fn build(
&self,
) -> Result<SetBlackboxPatterns, SetBlackboxPatternsBuilderError>
pub fn build( &self, ) -> Result<SetBlackboxPatterns, SetBlackboxPatternsBuilderError>
Trait Implementations§
Source§impl Clone for SetBlackboxPatternsBuilder
impl Clone for SetBlackboxPatternsBuilder
Source§fn clone(&self) -> SetBlackboxPatternsBuilder
fn clone(&self) -> SetBlackboxPatternsBuilder
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 SetBlackboxPatternsBuilder
impl RefUnwindSafe for SetBlackboxPatternsBuilder
impl Send for SetBlackboxPatternsBuilder
impl Sync for SetBlackboxPatternsBuilder
impl Unpin for SetBlackboxPatternsBuilder
impl UnsafeUnpin for SetBlackboxPatternsBuilder
impl UnwindSafe for SetBlackboxPatternsBuilder
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