Struct aws_sdk_connect::types::RuleSummary
source · #[non_exhaustive]pub struct RuleSummary {
pub name: Option<String>,
pub rule_id: Option<String>,
pub rule_arn: Option<String>,
pub event_source_name: Option<EventSourceName>,
pub publish_status: Option<RulePublishStatus>,
pub action_summaries: Option<Vec<ActionSummary>>,
pub created_time: Option<DateTime>,
pub last_updated_time: Option<DateTime>,
}
Expand description
A list of ActionTypes
associated with a rule.
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.name: Option<String>
The name of the rule.
rule_id: Option<String>
A unique identifier for the rule.
rule_arn: Option<String>
The Amazon Resource Name (ARN) of the rule.
event_source_name: Option<EventSourceName>
The name of the event source.
publish_status: Option<RulePublishStatus>
The publish status of the rule.
action_summaries: Option<Vec<ActionSummary>>
A list of ActionTypes associated with a rule.
created_time: Option<DateTime>
The timestamp for when the rule was created.
last_updated_time: Option<DateTime>
The timestamp for when the rule was last updated.
Implementations§
source§impl RuleSummary
impl RuleSummary
sourcepub fn event_source_name(&self) -> Option<&EventSourceName>
pub fn event_source_name(&self) -> Option<&EventSourceName>
The name of the event source.
sourcepub fn publish_status(&self) -> Option<&RulePublishStatus>
pub fn publish_status(&self) -> Option<&RulePublishStatus>
The publish status of the rule.
sourcepub fn action_summaries(&self) -> Option<&[ActionSummary]>
pub fn action_summaries(&self) -> Option<&[ActionSummary]>
A list of ActionTypes associated with a rule.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The timestamp for when the rule was created.
sourcepub fn last_updated_time(&self) -> Option<&DateTime>
pub fn last_updated_time(&self) -> Option<&DateTime>
The timestamp for when the rule was last updated.
source§impl RuleSummary
impl RuleSummary
sourcepub fn builder() -> RuleSummaryBuilder
pub fn builder() -> RuleSummaryBuilder
Creates a new builder-style object to manufacture RuleSummary
.
Trait Implementations§
source§impl Clone for RuleSummary
impl Clone for RuleSummary
source§fn clone(&self) -> RuleSummary
fn clone(&self) -> RuleSummary
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 RuleSummary
impl Debug for RuleSummary
source§impl PartialEq<RuleSummary> for RuleSummary
impl PartialEq<RuleSummary> for RuleSummary
source§fn eq(&self, other: &RuleSummary) -> bool
fn eq(&self, other: &RuleSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RuleSummary
Auto Trait Implementations§
impl RefUnwindSafe for RuleSummary
impl Send for RuleSummary
impl Sync for RuleSummary
impl Unpin for RuleSummary
impl UnwindSafe for RuleSummary
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