pub struct ResourceChangedPriorityEvent { /* private fields */ }Available on crate features
Network and Debugger and Runtime and Security and experimental only.Expand description
Fired when resource loading priority is changed
Implementations§
Source§impl ResourceChangedPriorityEvent
impl ResourceChangedPriorityEvent
pub fn new( request_id: RequestId, new_priority: ResourcePriority, timestamp: MonotonicTime, ) -> Self
Sourcepub fn request_id(&self) -> &RequestId
pub fn request_id(&self) -> &RequestId
Request identifier.
Sourcepub fn new_priority(&self) -> &ResourcePriority
pub fn new_priority(&self) -> &ResourcePriority
New priority
Sourcepub fn timestamp(&self) -> &MonotonicTime
pub fn timestamp(&self) -> &MonotonicTime
Timestamp.
Trait Implementations§
Source§impl Clone for ResourceChangedPriorityEvent
impl Clone for ResourceChangedPriorityEvent
Source§fn clone(&self) -> ResourceChangedPriorityEvent
fn clone(&self) -> ResourceChangedPriorityEvent
Returns a duplicate 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 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
Auto Trait Implementations§
impl Freeze for ResourceChangedPriorityEvent
impl RefUnwindSafe for ResourceChangedPriorityEvent
impl Send for ResourceChangedPriorityEvent
impl Sync for ResourceChangedPriorityEvent
impl Unpin 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