pub struct RelatedWebsiteSet<'a> { /* private fields */ }Expand description
A single Related Website Set object.
Implementations§
Source§impl<'a> RelatedWebsiteSet<'a>
impl<'a> RelatedWebsiteSet<'a>
Sourcepub fn builder(
primary_sites: Vec<Cow<'a, str>>,
associated_sites: Vec<Cow<'a, str>>,
service_sites: Vec<Cow<'a, str>>,
) -> RelatedWebsiteSetBuilder<'a>
pub fn builder( primary_sites: Vec<Cow<'a, str>>, associated_sites: Vec<Cow<'a, str>>, service_sites: Vec<Cow<'a, str>>, ) -> RelatedWebsiteSetBuilder<'a>
Creates a builder for this type with the required parameters:
primary_sites: The primary site of this set, along with the ccTLDs if there is any.associated_sites: The associated sites of this set, along with the ccTLDs if there is any.service_sites: The service sites of this set, along with the ccTLDs if there is any.
Sourcepub fn primary_sites(&self) -> &[Cow<'a, str>]
pub fn primary_sites(&self) -> &[Cow<'a, str>]
The primary site of this set, along with the ccTLDs if there is any.
Sourcepub fn associated_sites(&self) -> &[Cow<'a, str>]
pub fn associated_sites(&self) -> &[Cow<'a, str>]
The associated sites of this set, along with the ccTLDs if there is any.
Sourcepub fn service_sites(&self) -> &[Cow<'a, str>]
pub fn service_sites(&self) -> &[Cow<'a, str>]
The service sites of this set, along with the ccTLDs if there is any.
Trait Implementations§
Source§impl<'a> Clone for RelatedWebsiteSet<'a>
impl<'a> Clone for RelatedWebsiteSet<'a>
Source§fn clone(&self) -> RelatedWebsiteSet<'a>
fn clone(&self) -> RelatedWebsiteSet<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for RelatedWebsiteSet<'a>
impl<'a> Debug for RelatedWebsiteSet<'a>
Source§impl<'a> Default for RelatedWebsiteSet<'a>
impl<'a> Default for RelatedWebsiteSet<'a>
Source§fn default() -> RelatedWebsiteSet<'a>
fn default() -> RelatedWebsiteSet<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for RelatedWebsiteSet<'a>
impl<'de, 'a> Deserialize<'de> for RelatedWebsiteSet<'a>
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<'a> Freeze for RelatedWebsiteSet<'a>
impl<'a> RefUnwindSafe for RelatedWebsiteSet<'a>
impl<'a> Send for RelatedWebsiteSet<'a>
impl<'a> Sync for RelatedWebsiteSet<'a>
impl<'a> Unpin for RelatedWebsiteSet<'a>
impl<'a> UnsafeUnpin for RelatedWebsiteSet<'a>
impl<'a> UnwindSafe for RelatedWebsiteSet<'a>
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