#[non_exhaustive]pub struct PackageGroupReferenceBuilder { /* private fields */ }
Expand description
A builder for PackageGroupReference
.
Implementations§
source§impl PackageGroupReferenceBuilder
impl PackageGroupReferenceBuilder
sourcepub fn pattern(self, input: impl Into<String>) -> Self
pub fn pattern(self, input: impl Into<String>) -> Self
The pattern of the package group. The pattern determines which packages are associated with the package group, and is also the identifier of the package group.
sourcepub fn set_pattern(self, input: Option<String>) -> Self
pub fn set_pattern(self, input: Option<String>) -> Self
The pattern of the package group. The pattern determines which packages are associated with the package group, and is also the identifier of the package group.
sourcepub fn get_pattern(&self) -> &Option<String>
pub fn get_pattern(&self) -> &Option<String>
The pattern of the package group. The pattern determines which packages are associated with the package group, and is also the identifier of the package group.
sourcepub fn build(self) -> PackageGroupReference
pub fn build(self) -> PackageGroupReference
Consumes the builder and constructs a PackageGroupReference
.
Trait Implementations§
source§impl Clone for PackageGroupReferenceBuilder
impl Clone for PackageGroupReferenceBuilder
source§fn clone(&self) -> PackageGroupReferenceBuilder
fn clone(&self) -> PackageGroupReferenceBuilder
Returns a copy 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 PackageGroupReferenceBuilder
impl Debug for PackageGroupReferenceBuilder
source§impl Default for PackageGroupReferenceBuilder
impl Default for PackageGroupReferenceBuilder
source§fn default() -> PackageGroupReferenceBuilder
fn default() -> PackageGroupReferenceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PackageGroupReferenceBuilder
impl PartialEq for PackageGroupReferenceBuilder
source§fn eq(&self, other: &PackageGroupReferenceBuilder) -> bool
fn eq(&self, other: &PackageGroupReferenceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PackageGroupReferenceBuilder
Auto Trait Implementations§
impl Freeze for PackageGroupReferenceBuilder
impl RefUnwindSafe for PackageGroupReferenceBuilder
impl Send for PackageGroupReferenceBuilder
impl Sync for PackageGroupReferenceBuilder
impl Unpin for PackageGroupReferenceBuilder
impl UnwindSafe for PackageGroupReferenceBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.