pub struct SetPrerenderingAllowedReturnObject(pub Option<Value>);Expand description
Enable/disable prerendering manually.
This command is a short-term solution for https://crbug.com/1440085. See https://docs.google.com/document/d/12HVmFxYj5Jc-eJr5OmWsa2bqTJsbgGLKI6ZIyx0_wpA for more details.
TODO(https://crbug.com/1440085): Remove this once Puppeteer supports tab targets.
Tuple Fields§
§0: Option<Value>Trait Implementations§
Source§impl Clone for SetPrerenderingAllowedReturnObject
impl Clone for SetPrerenderingAllowedReturnObject
Source§fn clone(&self) -> SetPrerenderingAllowedReturnObject
fn clone(&self) -> SetPrerenderingAllowedReturnObject
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<'de> Deserialize<'de> for SetPrerenderingAllowedReturnObject
impl<'de> Deserialize<'de> for SetPrerenderingAllowedReturnObject
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
Source§impl PartialEq for SetPrerenderingAllowedReturnObject
impl PartialEq for SetPrerenderingAllowedReturnObject
Source§fn eq(&self, other: &SetPrerenderingAllowedReturnObject) -> bool
fn eq(&self, other: &SetPrerenderingAllowedReturnObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SetPrerenderingAllowedReturnObject
Auto Trait Implementations§
impl Freeze for SetPrerenderingAllowedReturnObject
impl RefUnwindSafe for SetPrerenderingAllowedReturnObject
impl Send for SetPrerenderingAllowedReturnObject
impl Sync for SetPrerenderingAllowedReturnObject
impl Unpin for SetPrerenderingAllowedReturnObject
impl UnsafeUnpin for SetPrerenderingAllowedReturnObject
impl UnwindSafe for SetPrerenderingAllowedReturnObject
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