#[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
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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>§
revision: Option<String>§
accept_rule: Option<AcceptRule>Specifies the rule (or the conditions) under which a prediction can be accepted.
accept_choices: Option<Vec<AcceptChoice>>§
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>
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]
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
This method tests for
self and other values to be equal, and is used
by ==.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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.