pub struct FrameBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> FrameBuilder<'a>
impl<'a> FrameBuilder<'a>
Sourcepub fn urlFragment(self, urlFragment: impl Into<Cow<'a, str>>) -> Self
pub fn urlFragment(self, urlFragment: impl Into<Cow<'a, str>>) -> Self
Frame document’s URL fragment including the ‘#’.
Sourcepub fn securityOriginDetails(
self,
securityOriginDetails: SecurityOriginDetails,
) -> Self
pub fn securityOriginDetails( self, securityOriginDetails: SecurityOriginDetails, ) -> Self
Additional details about the frame document’s security origin.
Sourcepub fn unreachableUrl(self, unreachableUrl: impl Into<Cow<'a, str>>) -> Self
pub fn unreachableUrl(self, unreachableUrl: impl Into<Cow<'a, str>>) -> Self
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.
Sourcepub fn adFrameStatus(self, adFrameStatus: AdFrameStatus) -> Self
pub fn adFrameStatus(self, adFrameStatus: AdFrameStatus) -> Self
Indicates whether this frame was tagged as an ad and why.
pub fn build(self) -> Frame<'a>
Auto Trait Implementations§
impl<'a> Freeze for FrameBuilder<'a>
impl<'a> RefUnwindSafe for FrameBuilder<'a>
impl<'a> Send for FrameBuilder<'a>
impl<'a> Sync for FrameBuilder<'a>
impl<'a> Unpin for FrameBuilder<'a>
impl<'a> UnsafeUnpin for FrameBuilder<'a>
impl<'a> UnwindSafe for FrameBuilder<'a>
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