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