pub struct RelatedWebsiteSetBuilder { /* private fields */ }Expand description
Builder for RelatedWebsiteSet.
Implementations§
Source§impl RelatedWebsiteSetBuilder
impl RelatedWebsiteSetBuilder
Sourcepub fn primary_sites<VALUE: Into<Vec<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn primary_sites<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
The primary site of this set, along with the ccTLDs if there is any.
Sourcepub fn associated_sites<VALUE: Into<Vec<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn associated_sites<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
The associated sites of this set, along with the ccTLDs if there is any.
Sourcepub fn service_sites<VALUE: Into<Vec<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn service_sites<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
The service sites of this set, along with the ccTLDs if there is any.
Sourcepub fn build(&self) -> Result<RelatedWebsiteSet, RelatedWebsiteSetBuilderError>
pub fn build(&self) -> Result<RelatedWebsiteSet, RelatedWebsiteSetBuilderError>
Trait Implementations§
Source§impl Clone for RelatedWebsiteSetBuilder
impl Clone for RelatedWebsiteSetBuilder
Source§fn clone(&self) -> RelatedWebsiteSetBuilder
fn clone(&self) -> RelatedWebsiteSetBuilder
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 moreAuto Trait Implementations§
impl Freeze for RelatedWebsiteSetBuilder
impl RefUnwindSafe for RelatedWebsiteSetBuilder
impl Send for RelatedWebsiteSetBuilder
impl Sync for RelatedWebsiteSetBuilder
impl Unpin for RelatedWebsiteSetBuilder
impl UnsafeUnpin for RelatedWebsiteSetBuilder
impl UnwindSafe for RelatedWebsiteSetBuilder
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