Expand description
Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation. navigatedWithinDocument
Fields
frame_id: FrameId
Id of the frame.
url: String
Frame’s new url.
Implementations
pub const IDENTIFIER: &'static str = "Page.navigatedWithinDocument"
Trait Implementations
sourcefn clone(&self) -> EventNavigatedWithinDocument
fn clone(&self) -> EventNavigatedWithinDocument
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourcefn deserialize<__D>(
__deserializer: __D
) -> Result<EventNavigatedWithinDocument, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<EventNavigatedWithinDocument, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourcefn from(el: EventNavigatedWithinDocument) -> CdpEvent
fn from(el: EventNavigatedWithinDocument) -> CdpEvent
Converts to this type from the input type.
sourcefn event_kind() -> EventKindwhere
EventNavigatedWithinDocument: 'static + Sized,
fn event_kind() -> EventKindwhere
EventNavigatedWithinDocument: 'static + Sized,
What kind of event this type is
sourcefn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
sourcefn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
sourcefn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
sourcefn eq(&self, other: &EventNavigatedWithinDocument) -> bool
fn eq(&self, other: &EventNavigatedWithinDocument) -> bool
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
Blanket Implementations
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
type Output = T
type Output = T
Should always be
Self