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<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 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
Self: Sized + 'static,
fn event_kind() -> EventKindwhere Self: Sized + 'static,
What kind of event this type is
source§impl Method for EventResourceChangedPriority
impl Method for EventResourceChangedPriority
source§fn identifier(&self) -> MethodId
fn identifier(&self) -> MethodId
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 for EventResourceChangedPriority
impl PartialEq 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 ==.impl StructuralPartialEq for EventResourceChangedPriority
Auto Trait Implementations§
impl RefUnwindSafe for EventResourceChangedPriority
impl Send for EventResourceChangedPriority
impl Sync for EventResourceChangedPriority
impl Unpin for EventResourceChangedPriority
impl UnwindSafe for EventResourceChangedPriority
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