Struct chrome_remote_interface_model::page::FrameBuilder [−][src]
Page
and Debugger
and DOM
and IO
and Network
and Runtime
only.Implementations
impl FrameBuilder
[src]
pub fn id(&mut self, v: FrameId) -> &mut Self
[src]
Frame unique identifier.
pub fn parent_id(&mut self, v: String) -> &mut Self
[src]
Parent frame identifier.
pub fn loader_id(&mut self, v: LoaderId) -> &mut Self
[src]
Identifier of the loader associated with this frame.
pub fn name(&mut self, v: String) -> &mut Self
[src]
Frame's name as specified in the tag.
pub fn url(&mut self, v: String) -> &mut Self
[src]
Frame document's URL without fragment.
pub fn url_fragment(&mut self, v: String) -> &mut Self
[src]
experimental
only.Frame document's URL fragment including the '#'.
pub fn domain_and_registry(&mut self, v: String) -> &mut Self
[src]
experimental
only.Frame document's registered domain, taking the public suffixes list into account. Extracted from the Frame's url. Example URLs: http://www.google.com/file.html -> "google.com" http://a.b.co.uk/file.html -> "b.co.uk"
pub fn security_origin(&mut self, v: String) -> &mut Self
[src]
Frame document's security origin.
pub fn mime_type(&mut self, v: String) -> &mut Self
[src]
Frame document's mimeType as determined by the browser.
pub fn unreachable_url(&mut self, v: String) -> &mut Self
[src]
experimental
only.If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment.
pub fn ad_frame_type(&mut self, v: JsonValue) -> &mut Self
[src]
experimental
only.Indicates whether this frame was tagged as an ad.
pub fn secure_context_type(&mut self, v: JsonValue) -> &mut Self
[src]
experimental
only.Indicates whether the main document is a secure context and explains why that is the case.
pub fn cross_origin_isolated_context_type(&mut self, v: JsonValue) -> &mut Self
[src]
experimental
only.Indicates whether this is a cross origin isolated context.
pub fn gated_api_features(&mut self, v: Vec<JsonValue>) -> &mut Self
[src]
experimental
only.Indicated which gated APIs / features are available.
pub fn build(&mut self) -> Result<Frame, &'static str>
[src]
Trait Implementations
impl Clone for FrameBuilder
[src]
fn clone(&self) -> FrameBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for FrameBuilder
[src]
impl Default for FrameBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for FrameBuilder
[src]
impl Send for FrameBuilder
[src]
impl Sync for FrameBuilder
[src]
impl Unpin for FrameBuilder
[src]
impl UnwindSafe for FrameBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,