#[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
impl StructuralPartialEq for RejectPredictionsInput
Auto Trait Implementations§
impl Freeze for RejectPredictionsInput
impl RefUnwindSafe for RejectPredictionsInput
impl Send for RejectPredictionsInput
impl Sync for RejectPredictionsInput
impl Unpin for RejectPredictionsInput
impl UnwindSafe for RejectPredictionsInput
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