Struct aws_sdk_frauddetector::operation::update_detector_version_status::UpdateDetectorVersionStatusInput
source · #[non_exhaustive]pub struct UpdateDetectorVersionStatusInput {
pub detector_id: Option<String>,
pub detector_version_id: Option<String>,
pub status: Option<DetectorVersionStatus>,
}
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.detector_id: Option<String>
The detector ID.
detector_version_id: Option<String>
The detector version ID.
status: Option<DetectorVersionStatus>
The new status.
The only supported values are ACTIVE
and INACTIVE
Implementations§
source§impl UpdateDetectorVersionStatusInput
impl UpdateDetectorVersionStatusInput
sourcepub fn detector_id(&self) -> Option<&str>
pub fn detector_id(&self) -> Option<&str>
The detector ID.
sourcepub fn detector_version_id(&self) -> Option<&str>
pub fn detector_version_id(&self) -> Option<&str>
The detector version ID.
sourcepub fn status(&self) -> Option<&DetectorVersionStatus>
pub fn status(&self) -> Option<&DetectorVersionStatus>
The new status.
The only supported values are ACTIVE
and INACTIVE
source§impl UpdateDetectorVersionStatusInput
impl UpdateDetectorVersionStatusInput
sourcepub fn builder() -> UpdateDetectorVersionStatusInputBuilder
pub fn builder() -> UpdateDetectorVersionStatusInputBuilder
Creates a new builder-style object to manufacture UpdateDetectorVersionStatusInput
.
Trait Implementations§
source§impl Clone for UpdateDetectorVersionStatusInput
impl Clone for UpdateDetectorVersionStatusInput
source§fn clone(&self) -> UpdateDetectorVersionStatusInput
fn clone(&self) -> UpdateDetectorVersionStatusInput
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 PartialEq for UpdateDetectorVersionStatusInput
impl PartialEq for UpdateDetectorVersionStatusInput
source§fn eq(&self, other: &UpdateDetectorVersionStatusInput) -> bool
fn eq(&self, other: &UpdateDetectorVersionStatusInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDetectorVersionStatusInput
Auto Trait Implementations§
impl Freeze for UpdateDetectorVersionStatusInput
impl RefUnwindSafe for UpdateDetectorVersionStatusInput
impl Send for UpdateDetectorVersionStatusInput
impl Sync for UpdateDetectorVersionStatusInput
impl Unpin for UpdateDetectorVersionStatusInput
impl UnwindSafe for UpdateDetectorVersionStatusInput
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.