#[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: 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
.
maximum_count: 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
.
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 ==
.