pub struct ReloadBuilder { /* private fields */ }Expand description
Builder for Reload.
Implementations§
Source§impl ReloadBuilder
impl ReloadBuilder
Sourcepub fn ignore_cache<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn ignore_cache<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
If true, browser cache is ignored (as if the user pressed Shift+refresh).
Sourcepub fn script_to_evaluate_on_load<VALUE: Into<String>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn script_to_evaluate_on_load<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
If set, the script will be injected into all frames of the inspected page after reload. Argument will be ignored if reloading dataURL origin.
Trait Implementations§
Source§impl Clone for ReloadBuilder
impl Clone for ReloadBuilder
Source§fn clone(&self) -> ReloadBuilder
fn clone(&self) -> ReloadBuilder
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 ReloadBuilder
impl RefUnwindSafe for ReloadBuilder
impl Send for ReloadBuilder
impl Sync for ReloadBuilder
impl Unpin for ReloadBuilder
impl UnsafeUnpin for ReloadBuilder
impl UnwindSafe for ReloadBuilder
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