#[non_exhaustive]pub struct DescribeTrailsOutput {
pub trail_list: Option<Vec<Trail>>,
/* private fields */
}
Expand description
Returns the objects or data listed below if successful. Otherwise, returns an error.
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.trail_list: Option<Vec<Trail>>
The list of trail objects. Trail objects with string values are only returned if values for the objects exist in a trail's configuration. For example, SNSTopicName
and SNSTopicARN
are only returned in results if a trail is configured to send SNS notifications. Similarly, KMSKeyId
only appears in results if a trail's log files are encrypted with KMS customer managed keys.
Implementations§
source§impl DescribeTrailsOutput
impl DescribeTrailsOutput
sourcepub fn trail_list(&self) -> &[Trail]
pub fn trail_list(&self) -> &[Trail]
The list of trail objects. Trail objects with string values are only returned if values for the objects exist in a trail's configuration. For example, SNSTopicName
and SNSTopicARN
are only returned in results if a trail is configured to send SNS notifications. Similarly, KMSKeyId
only appears in results if a trail's log files are encrypted with KMS customer managed keys.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .trail_list.is_none()
.
source§impl DescribeTrailsOutput
impl DescribeTrailsOutput
sourcepub fn builder() -> DescribeTrailsOutputBuilder
pub fn builder() -> DescribeTrailsOutputBuilder
Creates a new builder-style object to manufacture DescribeTrailsOutput
.
Trait Implementations§
source§impl Clone for DescribeTrailsOutput
impl Clone for DescribeTrailsOutput
source§fn clone(&self) -> DescribeTrailsOutput
fn clone(&self) -> DescribeTrailsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeTrailsOutput
impl Debug for DescribeTrailsOutput
source§impl PartialEq for DescribeTrailsOutput
impl PartialEq for DescribeTrailsOutput
source§fn eq(&self, other: &DescribeTrailsOutput) -> bool
fn eq(&self, other: &DescribeTrailsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeTrailsOutput
impl RequestId for DescribeTrailsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for DescribeTrailsOutput
Auto Trait Implementations§
impl Freeze for DescribeTrailsOutput
impl RefUnwindSafe for DescribeTrailsOutput
impl Send for DescribeTrailsOutput
impl Sync for DescribeTrailsOutput
impl Unpin for DescribeTrailsOutput
impl UnwindSafe for DescribeTrailsOutput
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> 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