pub struct ResourceChangedPriorityEvent {
pub request_id: RequestId,
pub new_priority: ResourcePriority,
pub timestamp: MonotonicTime,
}Expand description
Fired when resource loading priority is changed
Experimental: may change without notice.
Payload of the Network.resourceChangedPriority event.
Fields§
§request_id: RequestIdRequest identifier.
new_priority: ResourcePriorityNew priority
timestamp: MonotonicTimeTimestamp.
Trait Implementations§
Source§impl Clone for ResourceChangedPriorityEvent
impl Clone for ResourceChangedPriorityEvent
Source§impl Debug for ResourceChangedPriorityEvent
impl Debug for ResourceChangedPriorityEvent
Source§impl<'de> Deserialize<'de> for ResourceChangedPriorityEvent
impl<'de> Deserialize<'de> for ResourceChangedPriorityEvent
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 Event for ResourceChangedPriorityEvent
impl Event for ResourceChangedPriorityEvent
impl StructuralPartialEq for ResourceChangedPriorityEvent
Auto Trait Implementations§
impl Forget for ResourceChangedPriorityEvent
impl Freeze for ResourceChangedPriorityEvent
impl RefUnwindSafe for ResourceChangedPriorityEvent
impl Send for ResourceChangedPriorityEvent
impl Sync for ResourceChangedPriorityEvent
impl Unpin for ResourceChangedPriorityEvent
impl UnsafeUnpin for ResourceChangedPriorityEvent
impl UnwindSafe for ResourceChangedPriorityEvent
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