#[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
impl StructuralPartialEq for AcceptPredictionsInput
Auto Trait Implementations§
impl Freeze for AcceptPredictionsInput
impl RefUnwindSafe for AcceptPredictionsInput
impl Send for AcceptPredictionsInput
impl Sync for AcceptPredictionsInput
impl Unpin for AcceptPredictionsInput
impl UnwindSafe for AcceptPredictionsInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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