#[non_exhaustive]pub struct ActionTypeArtifactDetails {
pub minimum_count: i32,
pub maximum_count: i32,
}Expand description
Information about parameters for artifacts associated with the action type, such as the minimum and maximum artifacts allowed.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.minimum_count: i32The 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.
maximum_count: i32The 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.
Implementations§
source§impl ActionTypeArtifactDetails
impl ActionTypeArtifactDetails
sourcepub fn minimum_count(&self) -> i32
pub fn minimum_count(&self) -> 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) -> i32
pub fn maximum_count(&self) -> 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.
source§impl ActionTypeArtifactDetails
impl ActionTypeArtifactDetails
sourcepub fn builder() -> ActionTypeArtifactDetailsBuilder
pub fn builder() -> ActionTypeArtifactDetailsBuilder
Creates a new builder-style object to manufacture ActionTypeArtifactDetails.
Trait Implementations§
source§impl Clone for ActionTypeArtifactDetails
impl Clone for ActionTypeArtifactDetails
source§fn clone(&self) -> ActionTypeArtifactDetails
fn clone(&self) -> ActionTypeArtifactDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ActionTypeArtifactDetails
impl Debug for ActionTypeArtifactDetails
source§impl PartialEq for ActionTypeArtifactDetails
impl PartialEq for ActionTypeArtifactDetails
source§fn eq(&self, other: &ActionTypeArtifactDetails) -> bool
fn eq(&self, other: &ActionTypeArtifactDetails) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ActionTypeArtifactDetails
Auto Trait Implementations§
impl Freeze for ActionTypeArtifactDetails
impl RefUnwindSafe for ActionTypeArtifactDetails
impl Send for ActionTypeArtifactDetails
impl Sync for ActionTypeArtifactDetails
impl Unpin for ActionTypeArtifactDetails
impl UnwindSafe for ActionTypeArtifactDetails
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> 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