#[non_exhaustive]pub struct DescribeDetectorOutput {
pub detector_id: Option<String>,
pub detector_version_summaries: Option<Vec<DetectorVersionSummary>>,
pub next_token: Option<String>,
pub arn: Option<String>,
/* private fields */
}
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_summaries: Option<Vec<DetectorVersionSummary>>
The status and description for each detector version.
next_token: Option<String>
The next token to be used for subsequent requests.
arn: Option<String>
The detector ARN.
Implementations§
source§impl DescribeDetectorOutput
impl DescribeDetectorOutput
sourcepub fn detector_id(&self) -> Option<&str>
pub fn detector_id(&self) -> Option<&str>
The detector ID.
sourcepub fn detector_version_summaries(&self) -> &[DetectorVersionSummary]
pub fn detector_version_summaries(&self) -> &[DetectorVersionSummary]
The status and description for each detector version.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .detector_version_summaries.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The next token to be used for subsequent requests.
source§impl DescribeDetectorOutput
impl DescribeDetectorOutput
sourcepub fn builder() -> DescribeDetectorOutputBuilder
pub fn builder() -> DescribeDetectorOutputBuilder
Creates a new builder-style object to manufacture DescribeDetectorOutput
.
Trait Implementations§
source§impl Clone for DescribeDetectorOutput
impl Clone for DescribeDetectorOutput
source§fn clone(&self) -> DescribeDetectorOutput
fn clone(&self) -> DescribeDetectorOutput
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 DescribeDetectorOutput
impl Debug for DescribeDetectorOutput
source§impl PartialEq for DescribeDetectorOutput
impl PartialEq for DescribeDetectorOutput
source§fn eq(&self, other: &DescribeDetectorOutput) -> bool
fn eq(&self, other: &DescribeDetectorOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeDetectorOutput
impl RequestId for DescribeDetectorOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for DescribeDetectorOutput
Auto Trait Implementations§
impl Freeze for DescribeDetectorOutput
impl RefUnwindSafe for DescribeDetectorOutput
impl Send for DescribeDetectorOutput
impl Sync for DescribeDetectorOutput
impl Unpin for DescribeDetectorOutput
impl UnwindSafe for DescribeDetectorOutput
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.