pub struct EventResourceChangedPriority {
pub request_id: RequestId,
pub new_priority: ResourcePriority,
pub timestamp: MonotonicTime,
}Expand description
Fired when resource loading priority is changed resourceChangedPriority
Fields§
§request_id: RequestIdRequest identifier.
new_priority: ResourcePriorityNew priority
timestamp: MonotonicTimeTimestamp.
Implementations§
source§impl EventResourceChangedPriority
impl EventResourceChangedPriority
pub const IDENTIFIER: &'static str = "Network.resourceChangedPriority"
Trait Implementations§
source§impl Clone for EventResourceChangedPriority
impl Clone for EventResourceChangedPriority
source§fn clone(&self) -> EventResourceChangedPriority
fn clone(&self) -> EventResourceChangedPriority
Returns a copy 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 EventResourceChangedPriority
impl Debug for EventResourceChangedPriority
source§impl<'de> Deserialize<'de> for EventResourceChangedPriority
impl<'de> Deserialize<'de> for EventResourceChangedPriority
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<EventResourceChangedPriority, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<EventResourceChangedPriority, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<EventResourceChangedPriority> for CdpEvent
impl From<EventResourceChangedPriority> for CdpEvent
source§fn from(el: EventResourceChangedPriority) -> CdpEvent
fn from(el: EventResourceChangedPriority) -> CdpEvent
Converts to this type from the input type.
source§impl IntoEventKind for EventResourceChangedPriority
impl IntoEventKind for EventResourceChangedPriority
source§fn event_kind() -> EventKindwhere
EventResourceChangedPriority: Sized + 'static,
fn event_kind() -> EventKindwhere EventResourceChangedPriority: Sized + 'static,
What kind of event this type is
source§impl Method for EventResourceChangedPriority
impl Method for EventResourceChangedPriority
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNodesource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMsource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodesource§impl PartialEq<EventResourceChangedPriority> for EventResourceChangedPriority
impl PartialEq<EventResourceChangedPriority> for EventResourceChangedPriority
source§fn eq(&self, other: &EventResourceChangedPriority) -> bool
fn eq(&self, other: &EventResourceChangedPriority) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EventResourceChangedPriority
impl Serialize for EventResourceChangedPriority
source§fn 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