pub struct PreloadingAttemptSource {
pub key: PreloadingAttemptKey,
pub ruleSetIds: Vec<RuleSetId>,
pub nodeIds: Vec<BackendNodeId>,
}Expand description
Lists sources for a preloading attempt, specifically the ids of rule sets that had a speculation rule that triggered the attempt, and the BackendNodeIds of <a href> or <area href> elements that triggered the attempt (in the case of attempts triggered by a document rule). It is possible for multiple rule sets and links to trigger a single attempt.
Fields§
§key: PreloadingAttemptKey§ruleSetIds: Vec<RuleSetId>§nodeIds: Vec<BackendNodeId>Trait Implementations§
Source§impl Clone for PreloadingAttemptSource
impl Clone for PreloadingAttemptSource
Source§fn clone(&self) -> PreloadingAttemptSource
fn clone(&self) -> PreloadingAttemptSource
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 PreloadingAttemptSource
impl Debug for PreloadingAttemptSource
Source§impl Default for PreloadingAttemptSource
impl Default for PreloadingAttemptSource
Source§fn default() -> PreloadingAttemptSource
fn default() -> PreloadingAttemptSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreloadingAttemptSource
impl<'de> Deserialize<'de> for PreloadingAttemptSource
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 PreloadingAttemptSource
impl RefUnwindSafe for PreloadingAttemptSource
impl Send for PreloadingAttemptSource
impl Sync for PreloadingAttemptSource
impl Unpin for PreloadingAttemptSource
impl UnsafeUnpin for PreloadingAttemptSource
impl UnwindSafe for PreloadingAttemptSource
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