#[non_exhaustive]pub struct ActionTypeArtifactDetailsBuilder { /* private fields */ }
Expand description
A builder for ActionTypeArtifactDetails
.
Implementations§
source§impl ActionTypeArtifactDetailsBuilder
impl ActionTypeArtifactDetailsBuilder
sourcepub fn minimum_count(self, input: i32) -> Self
pub fn minimum_count(self, input: i32) -> Self
The minimum number of artifacts that can be used with the action type. For example, you should specify a minimum and maximum of zero input artifacts for an action type with a category of source
.
sourcepub fn set_minimum_count(self, input: Option<i32>) -> Self
pub fn set_minimum_count(self, input: Option<i32>) -> Self
The minimum number of artifacts that can be used with the action type. For example, you should specify a minimum and maximum of zero input artifacts for an action type with a category of source
.
sourcepub fn get_minimum_count(&self) -> &Option<i32>
pub fn get_minimum_count(&self) -> &Option<i32>
The minimum number of artifacts that can be used with the action type. For example, you should specify a minimum and maximum of zero input artifacts for an action type with a category of source
.
sourcepub fn maximum_count(self, input: i32) -> Self
pub fn maximum_count(self, input: i32) -> Self
The maximum number of artifacts that can be used with the actiontype. For example, you should specify a minimum and maximum of zero input artifacts for an action type with a category of source
.
sourcepub fn set_maximum_count(self, input: Option<i32>) -> Self
pub fn set_maximum_count(self, input: Option<i32>) -> Self
The maximum number of artifacts that can be used with the actiontype. For example, you should specify a minimum and maximum of zero input artifacts for an action type with a category of source
.
sourcepub fn get_maximum_count(&self) -> &Option<i32>
pub fn get_maximum_count(&self) -> &Option<i32>
The maximum number of artifacts that can be used with the actiontype. For example, you should specify a minimum and maximum of zero input artifacts for an action type with a category of source
.
sourcepub fn build(self) -> ActionTypeArtifactDetails
pub fn build(self) -> ActionTypeArtifactDetails
Consumes the builder and constructs a ActionTypeArtifactDetails
.
Trait Implementations§
source§impl Clone for ActionTypeArtifactDetailsBuilder
impl Clone for ActionTypeArtifactDetailsBuilder
source§fn clone(&self) -> ActionTypeArtifactDetailsBuilder
fn clone(&self) -> ActionTypeArtifactDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ActionTypeArtifactDetailsBuilder
impl Default for ActionTypeArtifactDetailsBuilder
source§fn default() -> ActionTypeArtifactDetailsBuilder
fn default() -> ActionTypeArtifactDetailsBuilder
source§impl PartialEq for ActionTypeArtifactDetailsBuilder
impl PartialEq for ActionTypeArtifactDetailsBuilder
source§fn eq(&self, other: &ActionTypeArtifactDetailsBuilder) -> bool
fn eq(&self, other: &ActionTypeArtifactDetailsBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ActionTypeArtifactDetailsBuilder
Auto Trait Implementations§
impl Freeze for ActionTypeArtifactDetailsBuilder
impl RefUnwindSafe for ActionTypeArtifactDetailsBuilder
impl Send for ActionTypeArtifactDetailsBuilder
impl Sync for ActionTypeArtifactDetailsBuilder
impl Unpin for ActionTypeArtifactDetailsBuilder
impl UnwindSafe for ActionTypeArtifactDetailsBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more