pub struct GetAffectedUrlsForThirdPartyCookieMetadataParams {
pub first_party_url: String,
pub third_party_urls: Vec<String>,
}Expand description
Returns the list of URLs from a page and its embedded resources that match existing grace period URL pattern rules. https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/grace-period getAffectedUrlsForThirdPartyCookieMetadata
Fields§
§first_party_url: StringThe URL of the page currently being visited.
third_party_urls: Vec<String>The list of embedded resource URLs from the page.
Implementations§
Source§impl GetAffectedUrlsForThirdPartyCookieMetadataParams
impl GetAffectedUrlsForThirdPartyCookieMetadataParams
pub const IDENTIFIER: &'static str = "Storage.getAffectedUrlsForThirdPartyCookieMetadata"
Trait Implementations§
Source§impl Clone for GetAffectedUrlsForThirdPartyCookieMetadataParams
impl Clone for GetAffectedUrlsForThirdPartyCookieMetadataParams
Source§fn clone(&self) -> GetAffectedUrlsForThirdPartyCookieMetadataParams
fn clone(&self) -> GetAffectedUrlsForThirdPartyCookieMetadataParams
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<'de> Deserialize<'de> for GetAffectedUrlsForThirdPartyCookieMetadataParams
impl<'de> Deserialize<'de> for GetAffectedUrlsForThirdPartyCookieMetadataParams
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 Method for GetAffectedUrlsForThirdPartyCookieMetadataParams
impl Method for GetAffectedUrlsForThirdPartyCookieMetadataParams
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 GetAffectedUrlsForThirdPartyCookieMetadataParams
impl PartialEq for GetAffectedUrlsForThirdPartyCookieMetadataParams
Source§fn eq(&self, other: &GetAffectedUrlsForThirdPartyCookieMetadataParams) -> bool
fn eq(&self, other: &GetAffectedUrlsForThirdPartyCookieMetadataParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GetAffectedUrlsForThirdPartyCookieMetadataParams
Auto Trait Implementations§
impl Freeze for GetAffectedUrlsForThirdPartyCookieMetadataParams
impl RefUnwindSafe for GetAffectedUrlsForThirdPartyCookieMetadataParams
impl Send for GetAffectedUrlsForThirdPartyCookieMetadataParams
impl Sync for GetAffectedUrlsForThirdPartyCookieMetadataParams
impl Unpin for GetAffectedUrlsForThirdPartyCookieMetadataParams
impl UnwindSafe for GetAffectedUrlsForThirdPartyCookieMetadataParams
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