pub struct BackForwardCacheBlockingDetailsBuilder { /* private fields */ }Expand description
Builder for BackForwardCacheBlockingDetails.
Implementations§
Source§impl BackForwardCacheBlockingDetailsBuilder
impl BackForwardCacheBlockingDetailsBuilder
Sourcepub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Url of the file where blockage happened. Optional because of tests.
Sourcepub fn function<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn function<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Function name where blockage happened. Optional because of anonymous functions and tests.
Sourcepub fn line_number<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
pub fn line_number<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
Line number in the script (0-based).
Sourcepub fn column_number<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
pub fn column_number<VALUE: Into<JsUInt>>(&mut self, value: VALUE) -> &mut Self
Column number in the script (0-based).
Sourcepub fn build(
&self,
) -> Result<BackForwardCacheBlockingDetails, BackForwardCacheBlockingDetailsBuilderError>
pub fn build( &self, ) -> Result<BackForwardCacheBlockingDetails, BackForwardCacheBlockingDetailsBuilderError>
Trait Implementations§
Source§impl Clone for BackForwardCacheBlockingDetailsBuilder
impl Clone for BackForwardCacheBlockingDetailsBuilder
Source§fn clone(&self) -> BackForwardCacheBlockingDetailsBuilder
fn clone(&self) -> BackForwardCacheBlockingDetailsBuilder
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 BackForwardCacheBlockingDetailsBuilder
impl RefUnwindSafe for BackForwardCacheBlockingDetailsBuilder
impl Send for BackForwardCacheBlockingDetailsBuilder
impl Sync for BackForwardCacheBlockingDetailsBuilder
impl Unpin for BackForwardCacheBlockingDetailsBuilder
impl UnsafeUnpin for BackForwardCacheBlockingDetailsBuilder
impl UnwindSafe for BackForwardCacheBlockingDetailsBuilder
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