pub struct CreateIsolatedWorld {
pub frame_id: FrameId,
pub world_name: Option<String>,
pub grant_univeral_access: Option<bool>,
}Expand description
Creates an isolated world for the given frame.
Fields§
§frame_id: FrameIdId of the frame in which the isolated world should be created.
world_name: Option<String>An optional name which is reported in the Execution Context.
grant_univeral_access: Option<bool>Whether or not universal access should be granted to the isolated world. This is a powerful option, use with caution.
Trait Implementations§
Source§impl Clone for CreateIsolatedWorld
impl Clone for CreateIsolatedWorld
Source§fn clone(&self) -> CreateIsolatedWorld
fn clone(&self) -> CreateIsolatedWorld
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 Debug for CreateIsolatedWorld
impl Debug for CreateIsolatedWorld
Source§impl<'de> Deserialize<'de> for CreateIsolatedWorld
impl<'de> Deserialize<'de> for CreateIsolatedWorld
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 Method for CreateIsolatedWorld
impl Method for CreateIsolatedWorld
const NAME: &'static str = "Page.createIsolatedWorld"
type ReturnObject = CreateIsolatedWorldReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for CreateIsolatedWorld
impl PartialEq for CreateIsolatedWorld
Source§impl Serialize for CreateIsolatedWorld
impl Serialize for CreateIsolatedWorld
impl StructuralPartialEq for CreateIsolatedWorld
Auto Trait Implementations§
impl Freeze for CreateIsolatedWorld
impl RefUnwindSafe for CreateIsolatedWorld
impl Send for CreateIsolatedWorld
impl Sync for CreateIsolatedWorld
impl Unpin for CreateIsolatedWorld
impl UnsafeUnpin for CreateIsolatedWorld
impl UnwindSafe for CreateIsolatedWorld
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