#[non_exhaustive]pub struct RejectPredictionsInput {
pub domain_identifier: Option<String>,
pub identifier: Option<String>,
pub revision: Option<String>,
pub reject_rule: Option<RejectRule>,
pub reject_choices: Option<Vec<RejectChoice>>,
pub client_token: Option<String>,
}
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.domain_identifier: Option<String>
The identifier of the Amazon DataZone domain.
identifier: Option<String>
The identifier of the prediction.
revision: Option<String>
The revision that is to be made to the asset.
reject_rule: Option<RejectRule>
Specifies the rule (or the conditions) under which a prediction can be rejected.
reject_choices: Option<Vec<RejectChoice>>
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.
client_token: Option<String>
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
Implementations§
source§impl RejectPredictionsInput
impl RejectPredictionsInput
sourcepub fn domain_identifier(&self) -> Option<&str>
pub fn domain_identifier(&self) -> Option<&str>
The identifier of the Amazon DataZone domain.
sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
The identifier of the prediction.
sourcepub fn reject_rule(&self) -> Option<&RejectRule>
pub fn reject_rule(&self) -> Option<&RejectRule>
Specifies the rule (or the conditions) under which a prediction can be rejected.
sourcepub fn reject_choices(&self) -> &[RejectChoice]
pub fn reject_choices(&self) -> &[RejectChoice]
Specifies the prediction (aka, the automatically generated piece of metadata) and the target (for example, a column name) that can be rejected.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .reject_choices.is_none()
.
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
source§impl RejectPredictionsInput
impl RejectPredictionsInput
sourcepub fn builder() -> RejectPredictionsInputBuilder
pub fn builder() -> RejectPredictionsInputBuilder
Creates a new builder-style object to manufacture RejectPredictionsInput
.
Trait Implementations§
source§impl Clone for RejectPredictionsInput
impl Clone for RejectPredictionsInput
source§fn clone(&self) -> RejectPredictionsInput
fn clone(&self) -> RejectPredictionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RejectPredictionsInput
impl Debug for RejectPredictionsInput
source§impl PartialEq for RejectPredictionsInput
impl PartialEq for RejectPredictionsInput
source§fn eq(&self, other: &RejectPredictionsInput) -> bool
fn eq(&self, other: &RejectPredictionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.