#[non_exhaustive]pub struct PutEventSelectorsOutput {
pub trail_arn: Option<String>,
pub event_selectors: Option<Vec<EventSelector>>,
pub advanced_event_selectors: Option<Vec<AdvancedEventSelector>>,
/* private fields */
}
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_arn: Option<String>
Specifies the ARN of the trail that was updated with event selectors. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
event_selectors: Option<Vec<EventSelector>>
Specifies the event selectors configured for your trail.
advanced_event_selectors: Option<Vec<AdvancedEventSelector>>
Specifies the advanced event selectors configured for your trail.
Implementations§
source§impl PutEventSelectorsOutput
impl PutEventSelectorsOutput
sourcepub fn trail_arn(&self) -> Option<&str>
pub fn trail_arn(&self) -> Option<&str>
Specifies the ARN of the trail that was updated with event selectors. The following is the format of a trail ARN.
arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail
sourcepub fn event_selectors(&self) -> &[EventSelector]
pub fn event_selectors(&self) -> &[EventSelector]
Specifies the event selectors configured for your trail.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .event_selectors.is_none()
.
sourcepub fn advanced_event_selectors(&self) -> &[AdvancedEventSelector]
pub fn advanced_event_selectors(&self) -> &[AdvancedEventSelector]
Specifies the advanced event selectors configured for your trail.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .advanced_event_selectors.is_none()
.
source§impl PutEventSelectorsOutput
impl PutEventSelectorsOutput
sourcepub fn builder() -> PutEventSelectorsOutputBuilder
pub fn builder() -> PutEventSelectorsOutputBuilder
Creates a new builder-style object to manufacture PutEventSelectorsOutput
.
Trait Implementations§
source§impl Clone for PutEventSelectorsOutput
impl Clone for PutEventSelectorsOutput
source§fn clone(&self) -> PutEventSelectorsOutput
fn clone(&self) -> PutEventSelectorsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PutEventSelectorsOutput
impl Debug for PutEventSelectorsOutput
source§impl PartialEq for PutEventSelectorsOutput
impl PartialEq for PutEventSelectorsOutput
source§fn eq(&self, other: &PutEventSelectorsOutput) -> bool
fn eq(&self, other: &PutEventSelectorsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for PutEventSelectorsOutput
impl RequestId for PutEventSelectorsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for PutEventSelectorsOutput
Auto Trait Implementations§
impl Freeze for PutEventSelectorsOutput
impl RefUnwindSafe for PutEventSelectorsOutput
impl Send for PutEventSelectorsOutput
impl Sync for PutEventSelectorsOutput
impl Unpin for PutEventSelectorsOutput
impl UnwindSafe for PutEventSelectorsOutput
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