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: String
The 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<GetAffectedUrlsForThirdPartyCookieMetadataParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetAffectedUrlsForThirdPartyCookieMetadataParams, <__D as Deserializer<'de>>::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) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
Source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
Source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
Source§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 ==
.Source§impl Serialize for GetAffectedUrlsForThirdPartyCookieMetadataParams
impl Serialize for GetAffectedUrlsForThirdPartyCookieMetadataParams
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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